firebase-functions-python icon indicating copy to clipboard operation
firebase-functions-python copied to clipboard

No stack trace in the log when an exception occurs

Open takahashi-shotaro-al opened this issue 1 year ago • 1 comments

(at least in emulated callable functions), No stack trace in the log when an exception occurs, making it difficult to identify the cause.

>  ERROR:root:Unhandled error: list index out of range
i  functions: Finished "test" in 1998.7598480000001ms

Perhaps the stack trace is not output this line. https://github.com/firebase/firebase-functions-python/blob/8610670b7cf9ecf79666fae50651509a71176a84/src/firebase_functions/https_fn.py#L410

takahashi-shotaro-al avatar Jul 04 '24 10:07 takahashi-shotaro-al

Hello. Stack traces are currently not supported in Python Cloud Functions hence no stack currently

exaby73 avatar Aug 01 '24 12:08 exaby73

Closing as similar to #172

CorieW avatar Dec 30 '24 17:12 CorieW