From f45d85a181c478fe005f6e69fd0aa3a08687a3f3 Mon Sep 17 00:00:00 2001 From: johnathan White Date: Wed, 1 Sep 2021 09:31:15 -0400 Subject: [PATCH] more logging --- src/pages/exchange-crypto/exchange-crypto.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/exchange-crypto/exchange-crypto.ts b/src/pages/exchange-crypto/exchange-crypto.ts index 01d6efa754f..dd12584c4a6 100644 --- a/src/pages/exchange-crypto/exchange-crypto.ts +++ b/src/pages/exchange-crypto/exchange-crypto.ts @@ -182,12 +182,16 @@ export class ExchangeCryptoPage { this.getExchangesCurrencies(); this.onPauseSubscription = this.platform.pause.subscribe(() => { + this.logger.debug('Swap - onPauseSubscription called'); if (this.timeout) { + this.logger.debug('Swap - onPauseSubscription clearing timeout'); clearTimeout(this.timeout); } }); this.onResumeSubscription = this.platform.resume.subscribe(() => { + this.logger.debug('Swap - onResumeSubscription called'); if (this.exchangeToUse == '1inch' && !this.fromWalletAllowanceOk) { + this.logger.debug('Swap - onResumeSubscription checking Confirmation'); this.checkConfirmation(1000); } });