Skip to content

Commit

Permalink
Log when process is called without files
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 28, 2025
1 parent 51e9b45 commit 6847b7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/too/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ def process(
validate_magnitude_limits=True,
)

else:
log.warning("No new files to process.")

if cross_match:
log.info("Cross-matching targets.")
xmatch_too_targets(database)
Expand Down

0 comments on commit 6847b7c

Please sign in to comment.