Consensys / truffle-security

MythX smart contract security verification plugin for Truffle Framework
https://mythx.io
124 stars 28 forks source link

[object Object] Internal MythX Errors #97

Closed nbanmp closed 5 years ago

nbanmp commented 5 years ago

Because of how we are concatenating error messages, they are sometimes not displayed correctly.

e.g.

Internal MythX errors encountered:
SafeMath: [object Object]
tagomaru commented 5 years ago

@nbanmp I have not been able to reproduce it. Could you add the following code behind here to see the contents of that object? I will check it later.

config.logger.log(JSON.stringify(err, null, 2)); config.logger.log(typeof err);

Thx!

rocky commented 5 years ago

I suspect this is related to #109 which may explain why it is seen for some and not other and at different places.

I have observed that once the initial 10 minute timeout period for the first access token occurs and a refresh successfully occurs, you have a day before the next (refreshed) access token times out.

rocky commented 5 years ago

Fixed by #110