diff options
Diffstat (limited to 'packages/deployer/src/utils/error_reporter.ts')
-rw-r--r-- | packages/deployer/src/utils/error_reporter.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/deployer/src/utils/error_reporter.ts b/packages/deployer/src/utils/error_reporter.ts index b28e4fbbe..bf3f96a7c 100644 --- a/packages/deployer/src/utils/error_reporter.ts +++ b/packages/deployer/src/utils/error_reporter.ts @@ -1,5 +1,6 @@ import { logUtils } from '@0xproject/utils'; +// Makes an async function no-throw printing errors to the console export function consoleReporter<T>(asyncFn: (arg: T) => Promise<void>) { const noThrowFnAsync = async (arg: T) => { try { |