Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
epandurski committed Feb 10, 2019
1 parent e7b27cd commit eb16873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_signalbus/atomic.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _conjure_instance(cls, *args, **kwargs):
session.rollback()
continue
return instance
raise RuntimeError('Can not conjure an instance.')
raise RuntimeError('Can not conjure a "{}" instance.'.format(cls.__name__))


class AtomicProceduresMixin(object):
Expand Down

0 comments on commit eb16873

Please sign in to comment.