Skip to content

Commit

Permalink
Add info to the log
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyouMB committed Sep 7, 2024
1 parent 2e9e3ee commit 18dbd30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utilities/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ const dynamicImport = async (path: string, meta: string) => {
type: DiscordMessageType.ERROR,
data: {
message: `Failed to dynamically import: ${path}`,
error,
error: error,
path: path,
meta: meta,
},
});
throw error;
Expand Down

0 comments on commit 18dbd30

Please sign in to comment.