MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / handlerError

Method handlerError

src/astroprint/additionaltasks.py:161–163  ·  view source on GitHub ↗
(func, path, exc_info)

Source from the content-addressed store, hash-verified

159 self.errorOnRemove = None
160
161 def handlerError(func, path, exc_info):
162 self._logger.error("Unable to remove assets from [%s], path '%s': %s" % (tId, path, exc_info[1][1]))
163 self.errorOnRemove = "Error removing assets from '%s': [%s]" % (path, exc_info[1][1])
164
165 # Check if task file exists => remove it
166 if os.path.exists(taskPath) and os.path.isfile(taskPath):

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected