Fix logger location tag

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Trenton H 2022-09-28 11:02:34 -07:00 committed by GitHub
parent 5b66ef0a74
commit 4422bb3f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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