Created
July 19, 2021 09:52
-
-
Save lukaszsagol/3d88b954b1891c7e73e49f39731ad9bb to your computer and use it in GitHub Desktop.
How to capture TypeScript Firebase functions errors in Sentry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from 'firebase-functions' | |
const helloWorldHandler = async () => { | |
// Do exciting function things here | |
return { done: true } | |
} | |
exports = module.exports = functions.https.onCall(helloWorldHandler) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code for tutorial How to capture TypeScript Firebase functions errors in Sentry