Skip to content

Commit

Permalink
[Processing] Fix wrapping unicoded error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Jan 2, 2017
1 parent ac68140 commit f4ba082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/GeoAlgorithm.py
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='ignore') + self.tr(u'\nSee log for more details'))

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

0 comments on commit f4ba082

Please sign in to comment.