
Well so im trying to see more information of an error of a function that is not working, it says "Internal Runtime Error", how can i see the console or how can i find out more about this problem?

Hello, can you please try to surround all your code in a try/catch, and check logs?
def main(req, res):
try:
# All your code here
return res.json({...})
except Exception as e:
print(e)
return res.json({...})
If it doesnt work, can you share a bit of your code?

apparently that worked and it seems to be an error in my code 😓 , I'll see how to fix it, but for now it worked to wrap the code in the try catch, thanks Sergio <:appwritecheers:892495536823861258>

Nice to hear that. By the way, I use python runtimes aswell, so, if you find yourself needing traceback, you can do the following.
import traceback
def main(req, res):
try:
# All your code here
return res.json({...})
except Exception as e:
print(e)
print(traceback.format_exc())
return res.json({...})
With this, you are going to be able to see under Logs
tab, the traceback, so your debug should be a bit easier.

sounds great, thank you
Recommended threads
- 404 Not Found when viewing document (con...
When viewing a document in console 6.1.23 i have an issue where the page displays a 404. Going back to 6.0.13 made it work again. When looking at the requests ...
- Change attribute without losing data
Hey so I have a collection that has a "due" attribute now I have over 2K+ documents and noticed that I made it an integer instead of a float and we need it to b...
- Incremental/Updates based on OG value wh...
I've set up my own SDK accessed as below ```lua DB["userinfo"]["bankaccounts"]:update({ method = "equal", attribute = "userid", values =...
