diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-16 10:48:25 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-04-20 13:00:02 +0200 |
commit | 9bc48451b939df58b7e7e90300c9c716c348027f (patch) | |
tree | ca5e8858f60e8f479a4bb299b26d867bbfda7ab6 /settings/controller/certificatecontroller.php | |
parent | 89353695648eb686e6fffd49f86a6d014121f551 (diff) | |
download | nextcloud-server-9bc48451b939df58b7e7e90300c9c716c348027f.tar.gz nextcloud-server-9bc48451b939df58b7e7e90300c9c716c348027f.zip |
Adjust tests and statuscode
Diffstat (limited to 'settings/controller/certificatecontroller.php')
-rw-r--r-- | settings/controller/certificatecontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/certificatecontroller.php b/settings/controller/certificatecontroller.php index c8d05a51240..d9026cd42af 100644 --- a/settings/controller/certificatecontroller.php +++ b/settings/controller/certificatecontroller.php @@ -76,7 +76,7 @@ class CertificateController extends Controller { 'issuerOrganization' => $certificate->getIssuerOrganization(), ]); } catch (\Exception $e) { - return new DataResponse('An error occurred.', Http::STATUS_INTERNAL_SERVER_ERROR); + return new DataResponse('An error occurred.', Http::STATUS_UNPROCESSABLE_ENTITY); } } |