Skip to content

Commit

Permalink
Fixed build_error() Python 3 incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ElSaico committed Jun 28, 2016
1 parent 1e3522b commit b70a492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restless/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def build_error(self, err):
:returns: A response object
"""
data = {
'error': err.message,
'error': err.args[0],
}

if self.is_debug():
Expand Down

0 comments on commit b70a492

Please sign in to comment.