Skip to content

Commit

Permalink
Merge pull request #3936 from borysiasty/release-2_14
Browse files Browse the repository at this point in the history
[Processing] Fix wrapping unicoded error messages
  • Loading branch information
alexbruy authored Jan 3, 2017
2 parents ac68140 + 56c4acc commit b6b0902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/GeoAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def execute(self, progress=None, model=None):
lines.append(traceback.format_exc())
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
raise GeoAlgorithmExecutionException(
unicode(e) + self.tr('\nSee log for more details'))
unicode(e.message, errors='replace') + self.tr(u'\nSee log for more details'))

def _checkParameterValuesBeforeExecuting(self):
for param in self.parameters:
Expand Down

0 comments on commit b6b0902

Please sign in to comment.