Mumma6 / learndev

https://www.studify.dev
0 stars 0 forks source link

Create better error handeling #80

Closed learndeviomartin closed 1 year ago

learndeviomartin commented 1 year ago

Make sure the correct error is presented. Make adjustment to the errorResponse. Also the Eiter, should not be a "string" for the error, instead it should be a better Error object

learndeviomartin commented 1 year ago

Also add "logs" to database. All errors should be added there. Use mapLeft in pipe?