Skip to content

Commit

Permalink
fix: Log the entire error (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Mar 16, 2023
1 parent 8c5287f commit 1089dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/_server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ export function run(): void {

importErrors.forEach((err) => {
const msg = err.error.toString();
console.error(err.error);
const importedBy =
err.referencedBy
?.map((s) => s.filename)
Expand Down

0 comments on commit 1089dec

Please sign in to comment.