Fix INVALID_RESPONSE error in the file app

This commit is contained in:
yflory
2018-02-16 12:02:20 +01:00
parent 54a91f1153
commit 037a6ccc35
4 changed files with 12 additions and 9 deletions

View File

@@ -102,7 +102,7 @@ types of messages:
}
// HACK to hide messages from the anon rpc
if (parsed.length !== 4) {
if (parsed.length !== 4 && parsed[1] !== 'ERROR') {
console.log(parsed);
console.error("received message [%s] for txid[%s] with no callback", msg, txid);
}