mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Fixes usage of a depracated logger method
This commit is contained in:
parent
f96ee4f7a0
commit
5aeb656a48
1 changed files with 1 additions and 1 deletions
|
|
@ -742,7 +742,7 @@ class TasksViewSerializer(serializers.ModelSerializer):
|
|||
result = filepath.name
|
||||
except Exception as e: # pragma: no cover
|
||||
# Extra security if something is malformed
|
||||
logger.warn(f"Error getting file name from task: {e}", exc_info=True)
|
||||
logger.warning(f"Error getting file name from task: {e}", exc_info=True)
|
||||
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue