Skip to content

Commit

Permalink
fix: excess messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jahabeebs committed Nov 6, 2024
1 parent 84c0df8 commit 85fb6cf
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/automated-dispute/src/services/eboProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ export class EboProcessor {
} catch (err) {
this.logger.error(`Unhandled error during the event loop: ${err}`);

await this.notifier.sendError(
"Unhandled error during the event loop",
{ message: "Unhandled error during the event loop" },
err,
);
await this.notifier.sendError("Unhandled error during the event loop", {}, err);

clearInterval(this.eventsInterval);

Expand Down Expand Up @@ -165,11 +161,7 @@ export class EboProcessor {
this.logger.error(`Sync failed: ${err}`);
}

await this.notifier.sendError(
"Error during synchronization",
{ message: "Error during synchronization" },
err,
);
await this.notifier.sendError("Error during synchronization", {}, err);
}
}

Expand Down

0 comments on commit 85fb6cf

Please sign in to comment.