added exception message

consider adding a debug toggle in config