-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit b720e15
fix(nuxt): Detect Azure Function runtime for flushing with timeout (#15288)
The debugging ability for Azure Functions when using Azure Static Web
Apps is very limited. But as I could see some Sentry-related logs I
**think** Sentry is generally initialized.
However, server-related logs don't show up in Sentry. This is
**probably** because the Azure Function finishes before the error can be
sent to Sentry.
By adding the Azure environment variable to check whether we should
flush with a timeout, this should possibly fix the issue.
Logs in Application Insights:
1 parent 1e4362e commit b720e15
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | - | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments