Skip to content

Instantly share code, notes, and snippets.

@lukaszsagol
Created July 19, 2021 09:52
Show Gist options
  • Save lukaszsagol/3d88b954b1891c7e73e49f39731ad9bb to your computer and use it in GitHub Desktop.
Save lukaszsagol/3d88b954b1891c7e73e49f39731ad9bb to your computer and use it in GitHub Desktop.
How to capture TypeScript Firebase functions errors in Sentry
import * as functions from 'firebase-functions'
const helloWorldHandler = async () => {
// Do exciting function things here
return { done: true }
}
exports = module.exports = functions.https.onCall(helloWorldHandler)
@lukaszsagol
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment