You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$message = sprintf('Could not locate filter "%s" for path "%s". Message was "%s"', $filter, $path, $e->getMessage());
101
+
102
+
if (null !== $this->logger) {
103
+
$this->logger->debug($message);
104
+
}
105
+
106
+
thrownewNotFoundHttpException($message, $e);
90
107
} catch (RuntimeException$e) {
91
108
thrownew \RuntimeException(sprintf('Unable to create image for path "%s" and filter "%s". Message was "%s"', $path, $filter, $e->getMessage()), 0, $e);
92
109
}
@@ -140,6 +157,14 @@ public function filterRuntimeAction(Request $request, $hash, $path, $filter)
$message = sprintf('Could not locate filter "%s" for path "%s". Message was "%s"', $filter, $hash.'/'.$path, $e->getMessage());
162
+
163
+
if (null !== $this->logger) {
164
+
$this->logger->debug($message);
165
+
}
166
+
167
+
thrownewNotFoundHttpException($message, $e);
143
168
} catch (RuntimeException$e) {
144
169
thrownew \RuntimeException(sprintf('Unable to create image for path "%s" and filter "%s". Message was "%s"', $hash.'/'.$path, $filter, $e->getMessage()), 0, $e);
0 commit comments