mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Pass a message to the exception
otherwise nothing gets printed when printing the exception
This commit is contained in:
parent
6ce8ba9ae3
commit
c1cf79d0e0
@ -96,7 +96,7 @@ def reconfigure(connection, *, table, shards, replicas,
|
||||
try:
|
||||
return connection.run(r.table(table).reconfigure(**params))
|
||||
except (r.ReqlOpFailedError, r.ReqlQueryLogicError) as e:
|
||||
raise OperationError from e
|
||||
raise OperationError('Failed to reconfigure tables.') from e
|
||||
|
||||
|
||||
@register_admin(RethinkDBConnection)
|
||||
|
Loading…
x
Reference in New Issue
Block a user