Fixed exception handling

feature/node-rewrite
Sven Slootweg 13 years ago
parent c95ccad6df
commit 26d4e91b53

@ -394,9 +394,13 @@ class Container extends CPHPDatabaseRecordClass
{ {
throw new ContainerReinstallException("Reinstalling container failed during destroying: " . $e->getMessage(), $e->getCode(), $this->sInternalId); throw new ContainerReinstallException("Reinstalling container failed during destroying: " . $e->getMessage(), $e->getCode(), $this->sInternalId);
} }
catch (ContainerDeployException $e) catch (ContainerCreateException $e)
{ {
throw new ContainerReinstallException("Reinstalling container failed during deploying: " . $e->getMessage(), $e->getCode(), $this->sInternalId); throw new ContainerReinstallException("Reinstalling container failed during creation: " . $e->getMessage(), $e->getCode(), $this->sInternalId);
}
catch (ContainerConfigureException $e)
{
throw new ContainerReinstallException("Reinstalling container failed during configuration: " . $e->getMessage(), $e->getCode(), $this->sInternalId);
} }
} }

Loading…
Cancel
Save