Skip to content

fix unreadable log messages referencing to abliity_id#2642

Merged
mkultraWasHere merged 3 commits into
apache:masterfrom
Morpheme777:fix-log-abilityid
Sep 17, 2022
Merged

fix unreadable log messages referencing to abliity_id#2642
mkultraWasHere merged 3 commits into
apache:masterfrom
Morpheme777:fix-log-abilityid

Conversation

@Morpheme777
Copy link
Copy Markdown
Contributor

@Morpheme777 Morpheme777 commented Aug 15, 2022

We get the string <built-in function id> instead of real ability_id like 30cfed4036baf152888affdcd814312c.

Description

image
We get the string <built-in function id> instead of 30cfed4036baf152888affdcd814312c

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • place an ability .yml file to the folder with invalid tactic name (where 'tactic' inside the .yml file not equal folder name)
  • look at log file, a error ERROR (data_svc.py:168 load_ability_file) Ability=30cfed4036baf152888affdcd814312c looks correct

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

References

Issue #2640

We get the string <built-in function id> instead of real ability_id like '30cfed4036baf152888affdcd814312c'.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 5, 2022

This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions Bot added the no-pr-activity Needs Attention label Sep 5, 2022
@github-actions github-actions Bot closed this Sep 11, 2022
@clenk clenk removed the no-pr-activity Needs Attention label Sep 13, 2022
@clenk clenk reopened this Sep 13, 2022
Copy link
Copy Markdown
Contributor

@clenk clenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested before and after this fix and confirmed it works as intended. Tests are failing because it comes from a fork (should not prevent merging).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants