astrodbtoolkit / astrodbtoolkit/AstrodbKit

Add logging and/or other debugging help

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
12
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I recently encountered an error while running db.inventory on a source. As is usual with sqlalchemy, the error message was not helpful. It would have been super helpful to have the ability to turn on logging.debug for astrodbkit to get more info. We ended up adding a print statement in this loop to see that it was crashing on a new reference table which we had neglected to add to the REFERENCE_TABLE list.

https://github.com/astrodbtoolkit/AstrodbKit/blob/24a4749f0a0a1ff8709b73f6011f3ed4fc224ec7/astrodbkit/astrodb.py#L483

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.