Skip to content

Commit 9aae397

Browse files
authored
Changed deprecated logger.warn to logger.warning (#237)
1 parent a74fa4d commit 9aae397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/cli/worker/process_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _signal_handler(signum: int, _frame: Any) -> None:
135135

136136
logger.debug(f"Got signal {signum}.")
137137
action_queue.put(ShutdownAction())
138-
logger.warn("Workers are scheduled for shutdown.")
138+
logger.warning("Workers are scheduled for shutdown.")
139139

140140
return _signal_handler
141141

0 commit comments

Comments
 (0)