We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry node on AWS Lambda
Version: latest
I am trying to get integrations to work as below, but I don't get anything in console for console logs. Please advice.
const sentry = new Sentry.NodeClient({ dsn: sentry_url, integrations: Sentry.defaultIntegrations, debug: true }); const hub = new Sentry.Hub(sentry); hub.withScope(scope => { scope.setExtra("level", log.type); .... hub.captureMessage(log.message); hub.getClient().close(2000).then(function(result) { if (!result) { // timeout reached, need to log event to sendToSQS // https://github.com/getsentry/sentry-javascript/issues/1449#issuecomment-419352636 callback(true); } else { callback(); } } ); });
Thanks!
The text was updated successfully, but these errors were encountered:
Duplicate of #1764 Also see this comment from Today: #1764 (comment)
Sorry, something went wrong.
No branches or pull requests
Sentry node on AWS Lambda
Version: latest
I am trying to get integrations to work as below, but I don't get anything in console for console logs.
Please advice.
Thanks!
The text was updated successfully, but these errors were encountered: