Skip to content

Commit dea70b8

Browse files
committed
Update misleading error message.
Updated the error message as discussed in PR #3132.
1 parent 3fe5f23 commit dea70b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventListener/ReadListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function onKernelRequest(GetResponseEvent $event): void
109109
$data = $this->getSubresourceData($identifiers, $attributes, $context);
110110
}
111111
} catch (InvalidIdentifierException $e) {
112-
throw new NotFoundHttpException('Not found, because of an invalid identifier configuration', $e);
112+
throw new NotFoundHttpException('Invalid identifier value or configuration.', $e);
113113
}
114114

115115
if (null === $data) {

0 commit comments

Comments
 (0)