AOSSIE-Org / AOSSIE-Org/PictoPy

fix: improve SQLite error handling in metadata.py

Đang mở
#1,220 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.