nytai opened a new pull request #10676: URL: https://github.com/apache/incubator-superset/pull/10676
### SUMMARY <!--- Describe the change below, including rationale and design decisions --> - Stop logging exceptions in user queries as errors. These exceptions are expected and we already surface them to the user, there's no need to report them as errors. The existing debug logging should be enough to help developers debug user issues. - stop logging exceptions on api endpoints are exceptions. This decorator already surfaced the error to the api consumer via json. There's no need to log this as an exception as doing so results in a lot of noise, especially when errors are expected. Logging these at the debug level should be sufficient to help developers debug issues that may arise in this area. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> N/A ### TEST PLAN <!--- What steps should be taken to verify the changes --> CI passes ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
