AOSSIE-Org / AOSSIE-Org/PictoPy
fix: improve SQLite error handling in metadata.py
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 283
- Fork
- 679
- Merge trung bình
- 7 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.