Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use logger to add debug mode #41

Open
kelle opened this issue Oct 26, 2021 · 0 comments
Open

Use logger to add debug mode #41

kelle opened this issue Oct 26, 2021 · 0 comments

Comments

@kelle
Copy link
Collaborator

kelle commented Oct 26, 2021

When in debug mode,

  • print the filename being saved in the save_json function
  • print the filename being opened in load_json function.
  • do whatever verbose=True does in the search_object function

When load_database or save_database fails, this would help troubleshoot the file that is causing the problem.

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

No branches or pull requests

1 participant