Skip to content

Commit

Permalink
More helpful panic message
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
latenssi committed Nov 8, 2021
1 parent e1428f0 commit 8f638db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func WithJobStatusWebhook(u string) WorkerPoolOption {

valid, err := url.ParseRequestURI(u)
if err != nil {
panic(err)
panic("invalid job status webhook url")
}

if wp.notificationConfig == nil {
Expand Down

0 comments on commit 8f638db

Please sign in to comment.