nofusscomputing / centurion_erp

An ERP with a focus on ITSM and Automation
MIT License
0 stars 0 forks source link

Prevent any Exception from having the server return HTTP/500 #387

Open jon-nfc opened 1 week ago

jon-nfc commented 1 week ago

As there are also NON-API related exceptions within django, figure out a way to prevent the server from crashing and returning HTTP/500.

The intent is that somewhere a block is added to capture all "uncaught" exceptions, and correctly raise it as an API exception that will return at least the stack trace of the original exception.

Links