diff options
| author | Paul Buetow <paul@buetow.org> | 2024-09-28 12:08:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-09-28 12:08:58 +0300 |
| commit | c76ba11dc4ae23ab17115b87d0d2b9711ffdbf01 (patch) | |
| tree | 86f33c1b22d0fc4be27357cc5f68006bfa8b321a /internal/run.go | |
| parent | 076c0d5afb299fedc5ee61a13bfec7f86055fc89 (diff) | |
fix this
Diffstat (limited to 'internal/run.go')
| -rw-r--r-- | internal/run.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/run.go b/internal/run.go index 427384d..ea70bec 100644 --- a/internal/run.go +++ b/internal/run.go @@ -2,6 +2,7 @@ package internal import ( "context" + "errors" "log" "codeberg.org/snonux/gos/internal/config" @@ -20,8 +21,10 @@ func Run(ctx context.Context, args config.Args) error { case nil: log.Println("Scheduling", path) // TODO: Implement action here to post it - case schedule.NothingToSchedule: + case schedule.ErrNothingToSchedule: log.Println("Nothing to be scheduled for", platform) + case schedule.ErrNothingQueued + log.Println("Nothing queued for", platform) default: return err } |
