From 4526c1a8718fe8b25c7e9bec774f06fa06928996 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 9 Aug 2018 10:38:01 +0100 Subject: [PATCH] Fix fuzzer for bytes and uint --- lib/modules/profiler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index 3f260c5a..5794f779 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -66,7 +66,7 @@ class Profiler { self.profileJSON(contractName, (err, table) => { if (err) { - return res.send({error: err}); + return res.send({error: err.message}); } res.send(table); });