Skip to content

expert_count() swallows all exceptions #26

Description

@CyberSunil
except Exception:
    return 0

A missing file and a corrupt expert_meta.json both silently return 0, which makes the Expert Vault meter read 0/0 on the dashboard with no indication anything is wrong. Catch the specific errors and log the unexpected ones.

File: challenges/expert_vault.py

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions