Skip to content

Commit 610f657

Browse files
bidi47alexmerlin
andauthored
Update docs/book/v5/core-features/error-reporting.md
Co-authored-by: Alex Karajos <alex.merlin.1985@gmail.com> Signed-off-by: bidi47 <bidi@apidemia.com>
1 parent 2d2d8c4 commit 610f657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/book/v5/core-features/error-reporting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Below are the requirements for an application to be able to send error messages
5353
- `ErrorReportServiceInterface::class` . `tokens` must contain at least one token.
5454
- At least one of `ErrorReportServiceInterface::class` . `domain_whitelist`/`ip_whitelist` must have at least one value.
5555

56-
**Note:** The function `checkRequest()` tries to validate the request by checking matches for `domain_whitelist` with `isMatchingDomain()` and for `ip_whitelist` with `isMatchingIpAddress()`.
56+
**Note:** In `src/App/src/Service/ErrorReportService.php`, the method `checkRequest()` tries to validate the request by checking matches for `domain_whitelist` with `isMatchingDomain()` and for `ip_whitelist` with `isMatchingIpAddress()`.
5757
If both return `false`, a `ForbiddenException` is thrown and the error message does not get stored.
5858

5959
- **Application-side requirements**:

0 commit comments

Comments
 (0)