chore(sdk): update hookType error log level (#4132)

### Description

- updates hookType error log level

### Drive-by changes

- none

### Backward compatibility

- yes

### Testing

- none
pull/4135/head
Noah Bayindirli 🥂 5 months ago committed by GitHub
parent dfa9087960
commit 5e5a568cb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      typescript/sdk/src/hook/EvmHookReader.ts

@ -142,8 +142,10 @@ export class EvmHookReader implements HookReader {
customMessage = customMessage.concat( customMessage = customMessage.concat(
` [The provided hook contract might be outdated and not support hookType()]`, ` [The provided hook contract might be outdated and not support hookType()]`,
); );
this.logger.info(`${customMessage}:\n\t${e}`);
} else {
this.logger.debug(`${customMessage}:\n\t${e}`);
} }
this.logger.trace(`${customMessage}:\n\t${e}`);
throw new Error(`${customMessage}:\n\t${e}`); throw new Error(`${customMessage}:\n\t${e}`);
} }

Loading…
Cancel
Save