From 329fe20d3bb0c845035b4523e405f5ffe74681c8 Mon Sep 17 00:00:00 2001 From: Morpheme777 Date: Mon, 15 Aug 2022 04:14:02 -0400 Subject: [PATCH] fix unreadable log messages referencing to abliity_id We get the string instead of real ability_id like '30cfed4036baf152888affdcd814312c'. --- app/service/data_svc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/data_svc.py b/app/service/data_svc.py index 9452b2cd6..499203a01 100644 --- a/app/service/data_svc.py +++ b/app/service/data_svc.py @@ -169,7 +169,7 @@ async def load_ability_file(self, filename, access): ab.pop('plugin', plugin) if tactic and tactic not in filename: - self.log.error('Ability=%s has wrong tactic' % id) + self.log.error('Ability=%s has wrong tactic' % ability_id) await self._create_ability(ability_id=ability_id, name=name, description=description, tactic=tactic, technique_id=technique_id, technique_name=technique_name,