From 7b3a88073d9a94b20636c7e677b0adc443e627f9 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 21 Aug 2020 17:02:24 -0400 Subject: [PATCH] update for new linter rules --- libs/remix-debug/src/solidity-decoder/internalCallTree.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/remix-debug/src/solidity-decoder/internalCallTree.js b/libs/remix-debug/src/solidity-decoder/internalCallTree.js index de2f66bebe..b9c6872b45 100644 --- a/libs/remix-debug/src/solidity-decoder/internalCallTree.js +++ b/libs/remix-debug/src/solidity-decoder/internalCallTree.js @@ -242,7 +242,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc } } }) - } catch (_error) { + } catch (error) { + console.log(error) } } // we check here if we are at the beginning inside a new function. @@ -277,7 +278,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc // output params if (outputs) addParams(outputs, tree, scopeId, states, contractName, previousSourceLocation, stack.length, 0, 1) } - } catch (_error) { + } catch (error) { + console.log(error) } })