From 4422bb3f69412b0fae33311590c02339d98416ff Mon Sep 17 00:00:00 2001 From: Trenton H Date: Wed, 28 Sep 2022 11:02:34 -0700 Subject: [PATCH] Fix logger location tag Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/documents/serialisers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/serialisers.py b/src/documents/serialisers.py index cd99c43cd..78906cf2b 100644 --- a/src/documents/serialisers.py +++ b/src/documents/serialisers.py @@ -733,7 +733,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 task result: {e}", exc_info=True) + logger.warn(f"Error getting file name from task: {e}", exc_info=True) return result