Commit 336a236
authored
feat(nuxt): Improve logs about adding Node option 'import' (#13726)
Adding the node option can be a confusing step. This adds a log output
which already includes the correct file path to add. It looks like this:
```
[Sentry] Using your sentry.server.config.ts file for the server-side Sentry configuration.
Make sure to add the Node option import to the Node command where you deploy and/or run your application.
This preloads the Sentry configuration at server startup. You can do this via a
command-line flag (node --import ./.output/server/sentry.server.config.mjs [...]) or via
an environment variable (NODE_OPTIONS='--import ./.output/server/sentry.server.config.mjs' node [...]).
```1 parent 2ab7518 commit 336a236
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
78 | | - | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
0 commit comments