From 1b53be7416d165053ca4b27be6458d1d60cda29a Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 21 Oct 2020 10:52:37 +0200 Subject: [PATCH] add console.log --- apps/remix-ide/src/app/tabs/debugger/debuggerUI.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/debugger/debuggerUI.js b/apps/remix-ide/src/app/tabs/debugger/debuggerUI.js index 6b262420bd..db97723d23 100644 --- a/apps/remix-ide/src/app/tabs/debugger/debuggerUI.js +++ b/apps/remix-ide/src/app/tabs/debugger/debuggerUI.js @@ -109,7 +109,9 @@ class DebuggerUI { let content try { content = await this.debuggerModule.call('fileManager', 'getFile', path, source.contents) - } catch (e) {} + } catch (e) { + console.log('unable to fetch generated sources, the file probably doesn\'t exist yet', e) + } if (content !== source.contents) { await this.debuggerModule.call('fileManager', 'setFile', path, source.contents) }