make assert message more standard
This commit is contained in:
parent
f7e5f7396b
commit
9ba95190c4
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ namespace fc
|
|||
to_stream(os, v.get_object(), format, max_depth - 1 );
|
||||
return;
|
||||
default:
|
||||
FC_THROW_EXCEPTION( fc::invalid_arg_exception, "Unsupported variant type: " + std::to_string(v.get_type()) );
|
||||
FC_THROW_EXCEPTION( fc::invalid_arg_exception, "Unsupported variant type: ${type}", ( "type", v.get_type() ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue