bito-code-review[bot] commented on PR #42400:
URL: https://github.com/apache/superset/pull/42400#issuecomment-5081916214

   <!-- Bito Reply -->
   The code change already includes `logger.exception(...)` at line 20 of the 
provided diff hunk (which corresponds to the 62nd line in the original file). 
This method automatically logs the full exception traceback, providing the 
necessary context for debugging while keeping the user-facing message clean and 
secure. Since the exception details are only sent to the server logs and not 
returned in the API response, this approach avoids exposing sensitive 
information to the end user.
   
   **superset/semantic_layers/api.py**
   ```
   logger.exception(
                   "Error enriching semantic layer configuration schema for 
type %s",
                   sl_type,
               )
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to