AOSSIE-Org / AOSSIE-Org/PictoPy

fix: improve SQLite error handling in metadata.py

Open
#1,220 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
283
Forks
679
Avg merge
7d 2h
Merged PRs (30d)
3

Description

metadata.py has two problems:

Uses broad except Exception instead of sqlite3.Error
Uses print() instead of logging for error reporting
db_create_metadata_table has no exception handling at all

I'd like to fix this. Assigning myself.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.