Browse Source

storage-node: runtime-api log error type on status update

Mokhtar Naamani 4 years ago
parent
commit
09b69ae635
1 changed files with 1 additions and 0 deletions
  1. 1 0
      storage-node/packages/runtime-api/index.js

+ 1 - 0
storage-node/packages/runtime-api/index.js

@@ -171,6 +171,7 @@ class RuntimeApi {
 
       if (result.isError) {
         unsubscribe()
+        debug('Tx Error', status.type)
         onFinalizedFailed &&
           onFinalizedFailed({ err: status.type, result, tx: status.isUsurped ? status.asUsurped : undefined })
       } else if (result.isFinalized) {