Skip to content
Browse files

[processing] do not format errors before sending to log

  • Loading branch information
volaya committed Nov 6, 2015
1 parent 4692eb5 commit 8d8fac46e704786a1bfece3a1691b161b7088722
Showing with 1 addition and 7 deletions.
  1. +1 −7 python/plugins/processing/core/
@@ -238,13 +238,7 @@ def execute(self, progress=None, model=None):
# If something goes wrong and is not caught in the
# algorithm, we catch it here and wrap it
lines = ['Uncaught error while executing algorithm')]
errstring = traceback.format_exc()
newline = errstring.find('\n')
if newline != -1:
lines.append(errstring.replace('\n', '|'))
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
raise GeoAlgorithmExecutionException(
unicode(e) +'\nSee log for more details'))

0 comments on commit 8d8fac4

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