Skip to content

Commit

Permalink
Revert "test: log errors"
Browse files Browse the repository at this point in the history
  • Loading branch information
flxw committed Sep 25, 2023
1 parent 380a000 commit e24d429
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ func main() {
logger := slog.New(slog.NewJSONHandler(os.Stdout, nil))
slog.SetDefault(logger)

slog.Warn("This is a warning")
slog.Error("This is an error")

c := cron.New(cron.WithChain(cron.SkipIfStillRunning(cron.DefaultLogger)))
c.AddFunc("@every 20s", CommenceCrawlRun)
c.AddFunc("@daily", RefreshMaterializedViews)
Expand Down

0 comments on commit e24d429

Please sign in to comment.