Skip to content

Commit

Permalink
make error more detail
Browse files Browse the repository at this point in the history
  • Loading branch information
vita-dounai committed Sep 23, 2019
1 parent cb2a5a9 commit bee69f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/caliper-fisco-bcos/lib/fiscoBcos.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class FiscoBcos extends BlockchainInterface {

return await Promise.all(promises);
} catch (error) {
commLogger.error(Color.error(`FISCO BCOS smart contract invoke failed: ${(error.stack ? error.stack : error)}`));
commLogger.error(Color.error(`FISCO BCOS smart contract invoke failed: ${(error.stack ? error.stack : JSON.stringify(error))}`));
throw error;
}
}
Expand Down

0 comments on commit bee69f6

Please sign in to comment.