summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Http
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 10:54:17 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 10:55:52 +0100
commitca9f364fd4746093a38cdcaf2456f5f86aebb89f (patch)
treec5766ca8f760833381af5bc30ac16a0782080d5d /lib/private/AppFramework/Http
parenta773b055fc8ee3ae41a50e74542efa8b331b0602 (diff)
downloadnextcloud-server-ca9f364fd4746093a38cdcaf2456f5f86aebb89f.tar.gz
nextcloud-server-ca9f364fd4746093a38cdcaf2456f5f86aebb89f.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework/Http')
-rw-r--r--lib/private/AppFramework/Http/Dispatcher.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/AppFramework/Http/Dispatcher.php b/lib/private/AppFramework/Http/Dispatcher.php
index 6219ba47a41..7b9ad015de6 100644
--- a/lib/private/AppFramework/Http/Dispatcher.php
+++ b/lib/private/AppFramework/Http/Dispatcher.php
@@ -105,9 +105,6 @@ class Dispatcher {
} catch(\Exception $exception){
$response = $this->middlewareDispatcher->afterException(
$controller, $methodName, $exception);
- if ($response === null) {
- throw $exception;
- }
}
$response = $this->middlewareDispatcher->afterController(