Added log for authorization failure of proposal operations

This commit is contained in:
Sandip Patel 2019-12-06 11:07:38 +05:30
parent 2dfaa866ca
commit d5662ada04

View file

@ -43,6 +43,7 @@ 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()) );
return false; return false;
} }
return true; return true;