Skip to content

Commit

Permalink
fixes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
mrq1911 committed Aug 28, 2024
1 parent 72ae478 commit c9b4f28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export function broadcast(message) {
if (channel) {
channel.send(message);
} else {
throw new Error(`discord channel ${_channel} not connected`);
console.error(new Error(`discord channel ${_channel} not connected`));
process.exit(421);
}
}
}

0 comments on commit c9b4f28

Please sign in to comment.