Skip to content

Commit

Permalink
Fix ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team authored and renovate[bot] committed Mar 27, 2024
1 parent b26f35f commit 42522b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { lifecycle } from './controllers/lifecycle.mjs';
import { Bugsnag, startBugsnag } from './lib/bugsnag.mjs';
import { createServer } from './lib/server.mjs';

function fatal(err: Error): void {
function fatal(err: unknown): void {
console.error(err);
Bugsnag.notify(err);
Bugsnag.notify(err as Error);
process.exit(1);
}

Expand Down

0 comments on commit 42522b6

Please sign in to comment.