Skip to content

fix: improve SQLite error handling in metadata.py #1220

@ajithhraj

Description

@ajithhraj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions