diff options
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/remote.php b/remote.php index a14ff6ac308..38c349bd7bd 100644 --- a/remote.php +++ b/remote.php @@ -77,8 +77,7 @@ function handleException($e) { } if ($e instanceof RemoteException) { // we shall not log on RemoteException - OC_Response::setStatus($e->getCode()); - OC_Template::printErrorPage($e->getMessage()); + OC_Template::printErrorPage($e->getMessage(), '', $e->getCode()); } else { \OC::$server->getLogger()->logException($e, ['app' => 'remote']); OC_Response::setStatus($statusCode); |