diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 01:12:51 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 01:12:51 +0800 |
commit | 717a3bce8cd0d4cb782918b3ad806f6c1bdb825e (patch) | |
tree | f9d1bc64f48ae41591f384f67e57046c1d6fcba5 /packages/instant/src/util | |
parent | c6ae7b8d3f720f637db2d5ec9abee14cc00fb7a7 (diff) | |
download | dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar.gz dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar.bz2 dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar.lz dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar.xz dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.tar.zst dexon-sol-tools-717a3bce8cd0d4cb782918b3ad806f6c1bdb825e.zip |
EMBEDDED_DOMAINS -> HOST_DOMAINS
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r-- | packages/instant/src/util/error_reporter.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/error_reporter.ts b/packages/instant/src/util/error_reporter.ts index c0ef3e30e..8e21c8881 100644 --- a/packages/instant/src/util/error_reporter.ts +++ b/packages/instant/src/util/error_reporter.ts @@ -1,7 +1,7 @@ import { logUtils } from '@0x/utils'; import * as _ from 'lodash'; -import { EMBEDDED_DOMAINS, INSTANT_ENVIRONMENT, ROLLBAR_CLIENT_TOKEN, ROLLBAR_ENABLED } from '../constants'; +import { HOST_DOMAINS, INSTANT_ENVIRONMENT, ROLLBAR_CLIENT_TOKEN, ROLLBAR_ENABLED } from '../constants'; // Import version of Rollbar designed for embedded components // See https://docs.rollbar.com/docs/using-rollbarjs-inside-an-embedded-component @@ -29,7 +29,7 @@ export const setupRollbar = (): any => { }, }, }, - hostWhiteList: EMBEDDED_DOMAINS, + hostWhiteList: HOST_DOMAINS, uncaughtErrorLevel: 'error', ignoredMessages: [ // Errors from the third-party scripts |