From 285c18460a6761ce954f891bf99f9f50e53a4129 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 3 Nov 2025 13:06:41 -0500 Subject: [PATCH] chore: oops two fix Signed-off-by: Josh --- remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote.php b/remote.php index 3090bbee6a6..656ec7458fa 100644 --- a/remote.php +++ b/remote.php @@ -58,7 +58,7 @@ function handleException(Exception|Error $e): void { // we shall not log on RemoteException \OCP\Server::get(ITemplateManager::class)->printErrorPage($e->getMessage(), '', $e->getCode()); } else { - if ($ex instanceof ServiceUnavailableException && $e->getCode === 0) { + if ($e instanceof ServiceUnavailableException && $e->getCode() === 0) { $status = 503; } if ($e->getCode() > 0) {