diff --git a/library/Director/Core/CoreApi.php b/library/Director/Core/CoreApi.php index 953ddc1d..4a5fb38e 100644 --- a/library/Director/Core/CoreApi.php +++ b/library/Director/Core/CoreApi.php @@ -126,8 +126,9 @@ class CoreApi implements DeploymentApiInterface { try { $this->client->post('actions/restart-process'); + return true; - } catch (Exception $e) { + } catch (Exception $e) { return $e->getMessage(); } }