Skip to content

Commit

Permalink
Pass the exception message up to the LaboratoryException baseclass
Browse files Browse the repository at this point in the history
  • Loading branch information
cpennington authored and joealcorn committed May 5, 2019
1 parent e7af560 commit 137a611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laboratory/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,7 @@ class LaboratoryException(Exception):

def __init__(self, message, *a, **kw):
self.message = message
super(LaboratoryException, self).__init__(*a, **kw)
super(LaboratoryException, self).__init__(message, *a, **kw)


class MismatchException(LaboratoryException):
Expand Down

0 comments on commit 137a611

Please sign in to comment.