diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-12-04 06:24:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 06:24:58 +0800 |
commit | 50df67e7511460f051f91785bb4384485077ef60 (patch) | |
tree | 3caa4fac28a2af99e7e7d0beff7a661d26f8665e /packages/instant/src/components | |
parent | f076cdb8329693e9d7351ec88d2ac01ad42a2a3a (diff) | |
parent | 91b0fd951708b0fff0733c2e1eed45a403f3cc73 (diff) | |
download | dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.gz dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.bz2 dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.lz dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.xz dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.zst dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.zip |
Merge pull request #1295 from 0xProject/feature/instant/rollbar-env
[instant] Rollbar
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_provider.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx index b544b86ff..dae9124c6 100644 --- a/packages/instant/src/components/zero_ex_instant_provider.tsx +++ b/packages/instant/src/components/zero_ex_instant_provider.tsx @@ -15,6 +15,7 @@ import { AccountState, AffiliateInfo, AssetMetaData, Network, OrderSource, Quote import { analytics, disableAnalytics } from '../util/analytics'; import { assetUtils } from '../util/asset'; import { errorFlasher } from '../util/error_flasher'; +import { setupRollbar } from '../util/error_reporter'; import { gasPriceEstimator } from '../util/gas_price_estimator'; import { Heartbeater } from '../util/heartbeater'; import { generateAccountHeartbeater, generateBuyQuoteHeartbeater } from '../util/heartbeater_factory'; @@ -88,6 +89,7 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider } constructor(props: ZeroExInstantProviderProps) { super(props); + setupRollbar(); fonts.include(); const initialAppState = ZeroExInstantProvider._mergeDefaultStateWithProps(this.props); this._store = store.create(initialAppState); |