Skip to content

Commit

Permalink
Small fix for syncaction stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoLouwerse committed Dec 10, 2024
1 parent 71e938e commit 07565d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Action/SynchronizationAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function run(array $argument = []): array
$response['stackTrace'][] = $response['message'] = 'Stopped synchronization: ' . $e->getMessage();
if (isset($e->getHeaders()['X-RateLimit-Reset']) === true) {
$response['nextRun'] = $e->getHeaders()['X-RateLimit-Reset'];
$response['stackTrace'][] = $response['message'] = 'Returning X-RateLimit-Reset header to update Job nextRun: ' . $response['nextRun'];
$response['stackTrace'][] = 'Returning X-RateLimit-Reset header to update Job nextRun: ' . $response['nextRun'];
}
return $response;
} catch (Exception $e) {
Expand Down

0 comments on commit 07565d7

Please sign in to comment.