diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-28 11:38:09 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-28 11:38:09 +0800 |
commit | 0a19ba3014ac68c1c94fcb376bc1ddb5081db757 (patch) | |
tree | 0f7a8572c1fb6172b3f0474dd6e6356f569f8760 /packages/website/ts/utils/error_reporter.ts | |
parent | 88bd0f5328863141564faf2718118594732b66ca (diff) | |
download | dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.gz dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.zst dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.zip |
Fix tslint issues
Diffstat (limited to 'packages/website/ts/utils/error_reporter.ts')
-rw-r--r-- | packages/website/ts/utils/error_reporter.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/utils/error_reporter.ts b/packages/website/ts/utils/error_reporter.ts index a9731c4d4..40991afbf 100644 --- a/packages/website/ts/utils/error_reporter.ts +++ b/packages/website/ts/utils/error_reporter.ts @@ -1,7 +1,7 @@ -import {utils} from 'ts/utils/utils'; -import {constants} from 'ts/utils/constants'; -import {configs} from 'ts/utils/configs'; import {Environments} from 'ts/types'; +import {configs} from 'ts/utils/configs'; +import {constants} from 'ts/utils/constants'; +import {utils} from 'ts/utils/utils'; // Suggested way to include Rollbar with Webpack // https://github.com/rollbar/rollbar.js/tree/master/examples/webpack @@ -32,7 +32,7 @@ import Rollbar = require('../../public/js/rollbar.umd.nojson.min.js'); const rollbar = Rollbar.init(rollbarConfig); export const errorReporter = { - reportAsync(err: Error): Promise<any> { + async reportAsync(err: Error): Promise<any> { if (configs.ENVIRONMENT === Environments.DEVELOPMENT) { return; // Let's not log development errors to rollbar } |