scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Descriptive message for KeyError, still 500 #1011

Closed hkethi002 closed 6 years ago

hkethi002 commented 6 years ago

Fixes #918 Example

{
  "status_code": 500,
  "message": "Key 'stordage' was not found",
  "request_id": "e6f7b979-1511802434"
}

Review Checklist

codecov-io commented 6 years ago

Codecov Report

Merging #1011 into master will increase coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1011      +/-   ##
==========================================
+ Coverage   90.43%   90.43%   +<.01%     
==========================================
  Files          50       50              
  Lines        6753     6756       +3     
==========================================
+ Hits         6107     6110       +3     
  Misses        646      646
nagem commented 6 years ago

LGTM