IZIVIA/ocpi-toolkit

Properly handle missing headers errors

Opened this issue · 0 comments

Originally posted by @xhanin in #14 (comment)

I realize that the use of !! will make error reporting very poor if those headers are missing. we should rather raise a custom exception and return the appropriate error response. This is not part of this PR scope, but we should create an issue for that