You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/10 10:10:04 UTC

[GitHub] [superset] Pajri opened a new issue #16663: Superset Show Detailed Error Message Instead of Custom Error Message

Pajri opened a new issue #16663:
URL: https://github.com/apache/superset/issues/16663


   Hi,
   I'm using superset Version: 1.2.0. When I access user listing page (/users/list/) and left some field blanks, it show a detailed error message. We are using superset version 1.2.0
   
    
   
   This is the step to reproduce the issue :
   
   1.  Access user listing page (/users/list)
   2.  Click Filter List, choose :
   - Created By (Leave it Blank)
   
   - Changed By (Leave it Blank)
   
   - First Name (Input Garbage)
   
   - Last Name (Input Garbage)
   
   - Click Refresh
   
   3. A detailed error message will be shown.
   ![image](https://user-images.githubusercontent.com/6915392/132837977-776eafa1-0241-421d-9b08-6a23dede6834.png)
   
   This also happen when accessing this path /superset/schemas_access_for_csv_upload?db_id=2
   
   Is there any way to show a custom/common error page instead the detailed error page ? We have set the env to prod mode but the error message is still shown.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] dpgaspar commented on issue #16663: Superset Show Detailed Error Message Instead of Custom Error Message

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #16663:
URL: https://github.com/apache/superset/issues/16663#issuecomment-918087718


   Hi @Pajri the fix is ready on FAB, for superset you can disable this output by not running your app in debug more, see here: https://github.com/apache/superset/blob/master/superset/views/base.py#L414
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] dpgaspar commented on issue #16663: Superset Show Detailed Error Message Instead of Custom Error Message

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #16663:
URL: https://github.com/apache/superset/issues/16663#issuecomment-916983940


   @Pajri thank you for reporting this issue, the first errors on `users/list` seems like a FAB bug with PG, I'll address that.
   Still investigating the detailed error message and if it's possible to optionally make it less detailed .
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] dpgaspar closed issue #16663: Superset Show Detailed Error Message Instead of Custom Error Message

Posted by GitBox <gi...@apache.org>.
dpgaspar closed issue #16663:
URL: https://github.com/apache/superset/issues/16663


   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org