Skip to content

Commit

Permalink
[FOLD] Print exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
bachase committed Dec 20, 2017
1 parent 8e09374 commit d1ef7b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ripple/app/main/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1234,9 +1234,10 @@ bool ApplicationImp::setup()
setup.makeContexts();
serverHandler_->setup(setup, m_journal);
}
catch (std::exception const&)
catch (std::exception const& e)
{
JLOG(m_journal.fatal()) << "Unable to setup server handler";
JLOG(m_journal.fatal())
<< "Unable to setup server handler " << e.what();
return false;
}
}
Expand Down

0 comments on commit d1ef7b0

Please sign in to comment.