Skip to content

Commit

Permalink
Add value of invalid since_{token,id} requested
Browse files Browse the repository at this point in the history
  • Loading branch information
eldering committed Sep 22, 2024
1 parent 3a896f6 commit bd5f9e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/src/Controller/API/ContestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,9 @@ public function getEventFeedAction(
if ($event === null) {
throw new BadRequestHttpException(
sprintf(
'Invalid parameter "%s" requested.',
$request->query->has('since_token') ? 'since_token' : 'since_id'
'Invalid parameter "%s" requested with value "%s".',
$request->query->has('since_token') ? 'since_token' : 'since_id',
$sinceToken ?? $sinceId
)
);
}
Expand Down

0 comments on commit bd5f9e5

Please sign in to comment.