Skip to content

Commit 480c6e6

Browse files
committed
Change to snake case in logs
1 parent bc7570a commit 480c6e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/apify/storage_clients/_apify/_request_queue_shared_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ async def fetch_next_request(self) -> Request | None:
220220
if request is None:
221221
logger.debug(
222222
'Cannot find a request from the beginning of queue, will be retried later',
223-
extra={'nextRequestId': next_request_id},
223+
extra={'next_request_id': next_request_id},
224224
)
225225
return None
226226

227227
# If the request was already handled, skip it
228228
if request.handled_at is not None:
229229
logger.debug(
230230
'Request fetched from the beginning of queue was already handled',
231-
extra={'nextRequestId': next_request_id},
231+
extra={'next_request_id': next_request_id},
232232
)
233233
return None
234234

@@ -237,7 +237,7 @@ async def fetch_next_request(self) -> Request | None:
237237
if request is None:
238238
logger.debug(
239239
'Request fetched from the beginning of queue was not found in the RQ',
240-
extra={'nextRequestId': next_request_id},
240+
extra={'next_request_id': next_request_id},
241241
)
242242
return None
243243

0 commit comments

Comments
 (0)