From 7ca47158558096d924a0ed57118bc29b1c3a957c Mon Sep 17 00:00:00 2001 From: Roman Storm Date: Thu, 28 Nov 2019 00:52:49 -0800 Subject: [PATCH] add log message --- src/relayController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relayController.js b/src/relayController.js index 9b35e4a..70b9f1f 100644 --- a/src/relayController.js +++ b/src/relayController.js @@ -94,7 +94,7 @@ async function relay (req, resp) { return resp.status(400).json({ error: 'Proof is malformed.' }) }) } catch (e) { - console.log(e) + console.error(e.message, 'estimate gas failed') return resp.status(400).json({ error: 'Proof is malformed or spent.' }) } }