Debugging error 500 issues in Python EVE -
what best way debug error 500 issues in python eve on resources? i'm having problem patch method in 1 of item end points. there options more verbose error or catching exceptions proper info before error 500.
my database mongodb , i'm using cerberus styled schema.
if switch debug mode on exception message within body of response. set debug = true
in settings, or run application this:
from eve import eve app = eve() app.run(debug=true)
furthermore, if want dig in, clone repository , install (pip install -e <path repo>
. can set own breakpoints directly in source code.
Comments
Post a Comment