How To Debug Django Exceptions In Openshift Applications
Background: I am deploying a django application with Python 2.7.5 && Django 1.6. Currently I am able to render all pages, but one. The only error I am able to see when t
Solution 1:
On Openshift, you can type this command :
rhc tail -a <app-name>
and get the traceback . It should tell you what went wrong
Solution 2:
I strongly advocate to use Sentry ( https://getsentry.com/welcome/ ) for such debugging. It just made our lives easier. You can see all the details reported and the same errors are grouped together.
Additionally you can SSH into Openshift and use the common Linux tools or to use rhc tail as mentioned.
Post a Comment for "How To Debug Django Exceptions In Openshift Applications"