avoid proposal failure messages on running tests and release mode
This commit is contained in:
parent
d5662ada04
commit
8b8bd58cb8
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue