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

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -