Skip to content

Commit

Permalink
add stacktrace to cli_wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Sep 11, 2019
1 parent 5701c27 commit b5df416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/cli_wallet/main.cpp
Expand Up @@ -32,6 +32,7 @@
#include <fc/network/http/websocket.hpp>
#include <fc/rpc/cli.hpp>
#include <fc/rpc/websocket_api.hpp>
#include <fc/stacktrace.hpp>

#include <graphene/app/api.hpp>
#include <graphene/chain/config.hpp>
Expand Down Expand Up @@ -124,6 +125,7 @@ void setup_logging(string console_level, bool file_logger, string file_level, st

int main( int argc, char** argv )
{
fc::print_stacktrace_on_segfault();
try {

boost::program_options::options_description opts;
Expand Down

0 comments on commit b5df416

Please sign in to comment.