Skip to content

Commit b70a492

Browse files
committed
Fixed build_error() Python 3 incompatibility
1 parent 1e3522b commit b70a492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: restless/resources.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def build_error(self, err):
208208
:returns: A response object
209209
"""
210210
data = {
211-
'error': err.message,
211+
'error': err.args[0],
212212
}
213213

214214
if self.is_debug():

0 commit comments

Comments
 (0)