Commit 5c842357 authored by Łukasz Nowak's avatar Łukasz Nowak

Drop storing meaningless error messages in ZODB.

parent 3aa9360a
...@@ -757,7 +757,7 @@ class SlapTool(BaseTool): ...@@ -757,7 +757,7 @@ class SlapTool(BaseTool):
computer_document = self._getComputerDocument(computer_id) computer_document = self._getComputerDocument(computer_id)
software_installation = self._getSoftwareInstallationForComputer(url, software_installation = self._getSoftwareInstallationForComputer(url,
computer_document) computer_document)
software_installation.reportError(comment=error_log) software_installation.reportError()
@convertToREST @convertToREST
def _buildingComputerPartition(self, computer_id, computer_partition_id): def _buildingComputerPartition(self, computer_id, computer_partition_id):
...@@ -806,8 +806,7 @@ class SlapTool(BaseTool): ...@@ -806,8 +806,7 @@ class SlapTool(BaseTool):
.getUserName() .getUserName()
self._logAccess(user, instance.getReference(), self._logAccess(user, instance.getReference(),
'#error while instanciating') '#error while instanciating')
return instance.reportComputerPartitionError( return instance.reportComputerPartitionError()
comment=error_log)
@convertToREST @convertToREST
def _softwareInstanceRename(self, new_name, computer_id, def _softwareInstanceRename(self, new_name, computer_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment