Skip to content

Commit 1b3c8e6

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent c0c5cf6 commit 1b3c8e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/ControllerResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getController(Request $request)
8888
try {
8989
$callable = $this->createController($controller);
9090
} catch (\InvalidArgumentException $e) {
91-
throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable. %s.', $request->getPathInfo(), $e->getMessage()), 0, $e);
91+
throw new \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '.$e->getMessage(), $request->getPathInfo()), 0, $e);
9292
}
9393

9494
return $callable;

0 commit comments

Comments
 (0)