aboutsummaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'remote.php')
-rw-r--r--remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.php b/remote.php
index 7d20b4fbdf4..b1777e92f77 100644
--- a/remote.php
+++ b/remote.php
@@ -58,7 +58,7 @@ function handleException($e) {
// we shall not log on RemoteException
$server->addPlugin(new ExceptionLoggerPlugin('webdav', \OC::$server->getLogger()));
}
- $server->on('beforeMethod', function () use ($e) {
+ $server->on('beforeMethod:*', function () use ($e) {
if ($e instanceof RemoteException) {
switch ($e->getCode()) {
case 503: