You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Currently when passing errors to Stackdriver our error logs don't include a full stack trace as we use async/await pretty heavily in our system. This is partly a core issue with how Node handles async errors (see nodejs/node#11865 for details and a discussion on that) but it does hamper the utility of this library; even if this isn't something that can be resolved in this specific library having some guidance on how to improve async stack traces in the README would be nice.
Environment details
OS: Node Alpine container distribution
Node.js version: 9.4
npm version: 5.6.0
@google-cloud/error-reporting version: 0.1.3 (would update to the latest version but there's no obvious changelog anywhere and that makes me nervous without further exploration of the actual commit history)
Steps to reproduce
Create two async functions
Call one function from the other
Throw an error in the called function
Catch that error and log it using this library; alternatively, examine the stack trace in a non-debugger context
Currently when passing errors to Stackdriver our error logs don't include a full stack trace as we use async/await pretty heavily in our system. This is partly a core issue with how Node handles async errors (see nodejs/node#11865 for details and a discussion on that) but it does hamper the utility of this library; even if this isn't something that can be resolved in this specific library having some guidance on how to improve async stack traces in the README would be nice.
Environment details
Steps to reproduce