Skip to content

Commit

Permalink
Fix: compilatin error issue moneroexamples#2
Browse files Browse the repository at this point in the history
  • Loading branch information
moneroexamples committed Dec 15, 2016
1 parent ede2ad9 commit d44e0ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -3138,11 +3138,10 @@ class page {
cerr << "Error opening/accessing custom lmdb database: "
<< e.what() << endl;
}
catch (...)
catch (std::exception& e)
{
std::exception_ptr p = std::current_exception();
cerr << "Error opening/accessing custom lmdb database: "
<< p.__cxa_exception_type()->name() << endl;
<< e.what() << endl;
}


Expand Down

0 comments on commit d44e0ad

Please sign in to comment.