avoid proposal failure messages on running tests and release mode

This commit is contained in:
Sandip Patel 2019-12-17 11:37:41 +05:30
parent d5662ada04
commit 8b8bd58cb8

View file

@ -43,7 +43,9 @@ bool proposal_object::is_authorized_to_execute(database& db) const
} }
catch ( const fc::exception& e ) catch ( const fc::exception& e )
{ {
elog( "caught exception ${e} while checking authorization of proposal operations",("e", e.to_detail_string()) ); #ifndef NDEBUG
wlog( "caught exception ${e} while checking authorization of proposal operations",("e", e.to_detail_string()) );
#endif
return false; return false;
} }
return true; return true;