AMP-SCZ / dpdash

Deep phenotyping dashboard
Other
2 stars 1 forks source link

Funnel to error logger #744

Closed Elkrival closed 6 months ago

Elkrival commented 6 months ago

This pr makes use of the catch all error middleware in the application. This is because in the aws log when a controller has an error it is not printed to the console and poses a challenge when troubleshooting aws logs for errors.

In the controller I removed the try/catch block so that the exception is now handled by the middleware.