More tests

This commit is contained in:
Dane Everitt
2017-08-13 14:55:09 -05:00
parent fd24729ab9
commit 6d1b994b7d
11 changed files with 626 additions and 64 deletions

View File

@@ -196,6 +196,7 @@ class CreationService
} catch (RequestException $exception) {
$response = $exception->getResponse();
$this->writer->warning($exception);
$this->database->rollBack();
throw new DisplayException(trans('admin/server.exceptions.daemon_exception', [
'code' => is_null($response) ? 'E_CONN_REFUSED' : $response->getStatusCode(),