Skip to content

Commit

Permalink
Fixing mispellings
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Mar 17, 2021
1 parent 837d291 commit f747c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -83,7 +83,7 @@ id, err := scheduler.Add(&tasks.Task{
// Put your logic here
}(),
ErrFunc: func(e error) {
log.Printf("An error occured when executing task %s - %s", id, e)
log.Printf("An error occurred when executing task %s - %s", id, e)
}(),
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tasks.go
Expand Up @@ -71,7 +71,7 @@ error occurs.
// Put your logic here
}(),
ErrFunc: func(e error) {
log.Printf("An error occured when executing task %s - %s", id, e)
log.Printf("An error occurred when executing task %s - %s", id, e)
}(),
})
if err != nil {
Expand Down

0 comments on commit f747c0d

Please sign in to comment.