From dd832f350104e84a3878fec372bccf46747edcf0 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 28 Jul 2016 14:35:54 +0200 Subject: [PATCH] Improve the error message. --- controller/documentcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/documentcontroller.php b/controller/documentcontroller.php index 91e6ac2b..102dc80b 100644 --- a/controller/documentcontroller.php +++ b/controller/documentcontroller.php @@ -153,7 +153,7 @@ class DocumentController extends Controller { case '7': throw new ResponseException($this->l10n->t('Collabora Online: Cannot connect to the host "%s".', array($wopiRemote)), $admin_check); case '60': - throw new ResponseException($this->l10n->t('Collabora Online: SSL certificate is not installed.'), $this->l10n->t('Please ask your administrator to add ca-chain.cert.pem to the ownCloud\'s ca-bundle.crt, for example "cat /etc/loolwsd/ca-chain.cert.pem >> owncloud/resources/config/ca-bundle.crt" . The exact error message was: ') . $error_message); + throw new ResponseException($this->l10n->t('Collabora Online: SSL certificate is not installed.'), $this->l10n->t('Please ask your administrator to add ca-chain.cert.pem to the ca-bundle.crt, for example "cat /etc/loolwsd/ca-chain.cert.pem >> /resources/config/ca-bundle.crt" . The exact error message was: ') . $error_message); } } throw new ResponseException($this->l10n->t('Collabora Online unknown error: ') . $error_message, $contact_admin);