-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d829c11
commit 20fac0a
Showing
7 changed files
with
43 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/nitropack/dist/runtime/entries/nitro-dev.mjs b/node_modules/nitropack/dist/runtime/entries/nitro-dev.mjs | ||
index 943f3e9..9b691a3 100644 | ||
--- a/node_modules/nitropack/dist/runtime/entries/nitro-dev.mjs | ||
+++ b/node_modules/nitropack/dist/runtime/entries/nitro-dev.mjs | ||
@@ -28,5 +28,6 @@ server.listen(listenAddress, () => { | ||
address: typeof _address === "string" ? { socketPath: _address } : { host: "localhost", port: _address.port } | ||
}); | ||
}); | ||
-process.on("unhandledRejection", (err) => console.error("[nitro] [dev] [unhandledRejection] " + err)); | ||
-process.on("uncaughtException", (err) => console.error("[nitro] [dev] [uncaughtException] " + err)); | ||
+// CHANGED: Better error handling with stack traces | ||
+process.on("unhandledRejection", (err) => console.error("[nitro] [dev] [unhandledRejection]", err)); | ||
+process.on("uncaughtException", (err) => console.error("[nitro] [dev] [uncaughtException]", err)); |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
"@nuxt/types", | ||
"@types/node", | ||
"@types/jest", | ||
"vue-apollo", | ||
"@pinia/nuxt", | ||
] | ||
}, | ||
|