WolfgangFahl / pyOnlineSpreadSheetEditing

python Online SpreadSheet Editing tool with configurable enhancer/importer and check phase
Apache License 2.0
2 stars 0 forks source link

add default exception handling to avoid Internal Server Error display #17

Closed WolfgangFahl closed 2 years ago

WolfgangFahl commented 2 years ago

instead of:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

as a reaction on errors there should be a default reponse pointing out that the error is visible in the server log. In debug mode the exception should be shown via the browser - obviously it's not a good idea to run a public server in debug mode since sensitive information might leak.

WolfgangFahl commented 2 years ago

grafik

WolfgangFahl commented 2 years ago

grafik