Forums

Where Can I see the exceptions message

Where Can I see the exceptions message which I have handled in my bottle api code.

I am executing a function, for which an exception is raised, but I can't find it in error log or server log.

Thank You in Advance!!!

The error log (linked on the Web tab) will catch anything that goes to sys.stderr. You might need to switch debug mode on for bottle?

How can I switch debug mode on here in pythonanywhere for bottlepy api

I don't think you need to though, I think bottle logs to stderr by default. Are you sure there's nothing in the error log?