Compare commits

...

1 commit

Author SHA1 Message Date
Sandip Patel
8b8bd58cb8 avoid proposal failure messages on running tests and release mode 2019-12-17 11:39:42 +05:30

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;