diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-16 23:54:48 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-21 22:12:18 +0800 |
commit | 477daf416805633d02c6d387be26bee6ed747ebe (patch) | |
tree | 515e647134ab1dc4b0cd2e8f4a675c30cfe65284 /packages/deployer/src/utils/error_reporter.ts | |
parent | 8b52793f2fa21bcb23a3c38b6d3773cfc20186fd (diff) | |
download | dexon-sol-tools-477daf416805633d02c6d387be26bee6ed747ebe.tar.gz dexon-sol-tools-477daf416805633d02c6d387be26bee6ed747ebe.tar.zst dexon-sol-tools-477daf416805633d02c6d387be26bee6ed747ebe.zip |
Add function docs
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 { |