Skip to content

Commit

Permalink
make error message accept unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyroberts committed Nov 18, 2013
1 parent ff42c83 commit 09061a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions couchforms/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ def get_response(self):
return self.get_success_response(doc)
except SubmissionError as e:
logging.exception(
"Problem receiving submission to %s. %s" % (
u"Problem receiving submission to %s. %s" % (
self.request.path,
str(e),
unicode(e),
)
)
return self.get_error_response(e.error_log)
Expand Down

0 comments on commit 09061a0

Please sign in to comment.