Skip to content
Permalink
Browse files
Log error to ProcessingLog
  • Loading branch information
Bernhard Ströbl committed Dec 8, 2014
1 parent a2c656e commit da17656
Showing 1 changed file with 3 additions and 1 deletion.
@@ -31,6 +31,7 @@
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector
from processing.core.ProcessingLog import ProcessingLog
from processing.tools import dataobjects
from processing.tools import vector

@@ -106,7 +107,8 @@ def processAlgorithm(self, progress):
try:
result, newGeometries, topoTestPoints = inGeom.splitGeometry(splitterPList, False)
except:
QgsMessageLog.logMessage("exception")
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,
'Geometry exception while splitting')
result = 1

# splitGeometry: If there are several intersections

0 comments on commit da17656

Please sign in to comment.