[Flask] Finding error in Flask app while running under web server

Alex Hall ahall at autodist.com
Tue May 10 12:07:32 EDT 2016


Hello list,
I'm delighted to say that, not five minutes ago, my app ran under Nginx!
I'm still not totally sure how it's doing it, but it is. Now, though, I'm
running into a problem: something is timing out. I can see that in the
Nginx log, and my page displays a generic error message, one it shows if
anything goes sideways while talking to the database or interpreting
results.

I'm pretty sure the issue is in my app's communication with our AS400, but
I don't know how to double check that. The UWSGI log for this app is empty,
which doesn't surprise me as this is likely a problem with my app's code.
Is Python logging the best way to go here, or is there some automated log
I'm overlooking?

Thanks for any answers, and thanks again for everyone's help. I'm thrilled
that this finally--almost--works. It renders properly, which is the main
thing. Hopefully, it'll all be downhill from here. :)

-- 
Alex Hall
Automatic Distributors, IT department
ahall at autodist.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160510/22fd9486/attachment.html>


More information about the Flask mailing list