diff --git a/packages/automated-dispute/src/exceptions/errorHandler.ts b/packages/automated-dispute/src/exceptions/errorHandler.ts index 48f8b3c..bed1a55 100644 --- a/packages/automated-dispute/src/exceptions/errorHandler.ts +++ b/packages/automated-dispute/src/exceptions/errorHandler.ts @@ -7,10 +7,6 @@ export class ErrorHandler { console.error(`Error occurred: ${error.message}`); - if (strategy.shouldNotify) { - await this.notifyError(error, context); - } - await error.executeCustomAction(); if ((strategy as EventReactError).shouldReenqueue) { @@ -31,9 +27,4 @@ export class ErrorHandler { } } } - - private static async notifyError(error: CustomContractError, context: any): Promise { - // TODO: notification logic - console.log(error, context); - } }