Skip to content

Commit b6b0902

Browse files
authored
Merge pull request #3936 from borysiasty/release-2_14
[Processing] Fix wrapping unicoded error messages
2 parents ac68140 + 56c4acc commit b6b0902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/core/GeoAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def execute(self, progress=None, model=None):
214214
lines.append(traceback.format_exc())
215215
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
216216
raise GeoAlgorithmExecutionException(
217-
unicode(e) + self.tr('\nSee log for more details'))
217+
unicode(e.message, errors='replace') + self.tr(u'\nSee log for more details'))
218218

219219
def _checkParameterValuesBeforeExecuting(self):
220220
for param in self.parameters:

0 commit comments

Comments
 (0)