Add a setting to show tracebacks for API exceptions