-
Notifications
You must be signed in to change notification settings - Fork 678
Logging - callback function of log.error not called #1897
Copy link
Copy link
Closed
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I noticed that calls to log.error and log.write don't behave the same when it comes to execute the callback functions.
While I was trying to log an error thrown by my Datastore, I realized that my log.error callback was never executed. See code below.
This was produced on the Google Function Emulator.