Skip to content

Commit

Permalink
Merge pull request #2642 from Morpheme777/fix-log-abilityid
Browse files Browse the repository at this point in the history
fix unreadable log messages referencing to abliity_id
  • Loading branch information
elegantmoose committed Sep 17, 2022
2 parents 08f164d + 4654ec9 commit a1f6a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/service/data_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a1f6a91

Please sign in to comment.