Skip to content
Permalink
Browse files

Fix wrapping unicoded error messages

  • Loading branch information
borysiasty authored and m-kuhn committed Jan 5, 2017
1 parent 96cd751 commit a84fc3e5627e8bd4096c844222096f8538a6f14d
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/core/GeoAlgorithm.py
@@ -215,7 +215,8 @@ def execute(self, progress=SilentProgress(), model=None):
lines = [self.tr('Uncaught error while executing algorithm')]
lines.append(traceback.format_exc())
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
raise GeoAlgorithmExecutionException(unicode(e) + self.tr('\nSee log for more details'), lines, e)
raise GeoAlgorithmExecutionException(
unicode(e.message, errors='replace') + self.tr('\nSee log for more details'), lines, e)

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

0 comments on commit a84fc3e

Please sign in to comment.
You can’t perform that action at this time.