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 38c349bd7bd..d90bb2d8ee5 100644 --- a/remote.php +++ b/remote.php @@ -80,8 +80,7 @@ function handleException($e) { OC_Template::printErrorPage($e->getMessage(), '', $e->getCode()); } else { \OC::$server->getLogger()->logException($e, ['app' => 'remote']); - OC_Response::setStatus($statusCode); - OC_Template::printExceptionErrorPage($e); + OC_Template::printExceptionErrorPage($e, $statusCode); } } } |