From 141c30b173881f1f09307d951d6d8a63483f732e Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Thu, 23 Apr 2020 01:08:26 -0400 Subject: [PATCH] asset-swapper: remove debug logging --- packages/asset-swapper/src/utils/quote_requestor.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/asset-swapper/src/utils/quote_requestor.ts b/packages/asset-swapper/src/utils/quote_requestor.ts index dc102236b3..872dddf695 100644 --- a/packages/asset-swapper/src/utils/quote_requestor.ts +++ b/packages/asset-swapper/src/utils/quote_requestor.ts @@ -88,7 +88,6 @@ export class QuoteRequestor { constructor(rfqtMakerEndpoints: string[], logger: (s: string) => void = logUtils.warn.bind(logUtils)) { this._rfqtMakerEndpoints = rfqtMakerEndpoints; this._warningLogger = logger; - this._warningLogger('inside QuoteRequestor constructor'); } public async requestRfqtFirmQuotesAsync( @@ -98,7 +97,6 @@ export class QuoteRequestor { marketOperation: MarketOperation, options?: Partial, ): Promise { - this._warningLogger('inside firm quotes'); const _opts = _.merge({}, constants.DEFAULT_RFQT_REQUEST_OPTS, options); assertTakerAddressOrThrow(_opts.takerAddress); @@ -116,7 +114,6 @@ export class QuoteRequestor { timeout: _opts.makerEndpointMaxResponseTimeMs, }); } catch (err) { - logUtils.log(`failing`); this._warningLogger( `Failed to get RFQ-T firm quote from market maker endpoint ${rfqtMakerEndpoint} for API key ${ _opts.apiKey