Removed stray debug logging.
This commit is contained in:
parent
92def9c148
commit
e1e0929348
@ -83,7 +83,6 @@ function getBuiltinCallException(action: CallExceptionAction, tx: { to?: null |
|
|||||||
message += `: ${ JSON.stringify(reason) }`;
|
message += `: ${ JSON.stringify(reason) }`;
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
|
||||||
message += " (could not decode reason; invalid data)";
|
message += " (could not decode reason; invalid data)";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,7 +98,6 @@ function getBuiltinCallException(action: CallExceptionAction, tx: { to?: null |
|
|||||||
reason = `Panic due to ${ PanicReasons.get(code) || "UNKNOWN" }(${ code })`;
|
reason = `Panic due to ${ PanicReasons.get(code) || "UNKNOWN" }(${ code })`;
|
||||||
message += `: ${ reason }`;
|
message += `: ${ reason }`;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
|
||||||
message += " (could not decode panic reason)";
|
message += " (could not decode panic reason)";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user