paulmccarron / spotify-playlist-janitor

1 stars 0 forks source link

Exception handling #46

Open paulmccarron opened 1 year ago

paulmccarron commented 1 year ago

Add exception handling to both hosted services and api middleware

Uncaught exceptions during api requests should result in a 500 response with the exception stack trace in the response message.

Exceptions in hosted services should be caught and logged without causing the application to fail.

Critical exceptions that cause the application to quit shuold be logged before application terminates.