I have defined a python function in Google Cloud Functions, which I expect to fail, below:
def write(event, context):
raise NotImplementedError()
Now I want to look at the stack trace of this function so I can debug my function. In the documentation it states:
Uncaught exceptions produced by your function will appear in Stackdriver Error Reporting.
however I can't seem to find this stack trace anywhere. I've tried looking at the logs (it just tells me it crashed with no trace) and I've tried looking at the Stackdriver Error Reporting page I can't find it anywhere. Where can I access the uncaught error logs?
Picture of GCF test response for reference.
Thanks for any help!
This is a known issue with the Python runtime that is in the process of being resolved: https://issuetracker.google.com/issues/155215191
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With