riverqueue / river

Fast and reliable background jobs in Go
https://riverqueue.com
Mozilla Public License 2.0
2.86k stars 68 forks source link

Change log message to use a message and arguments instead of a formatting pattern #388

Closed stefansaasen closed 1 month ago

stefansaasen commented 1 month ago

I'm seeing the following error in the river logs:

{"time":"2024-06-10T15:02:54.573951+02:00","level":"ERROR","msg":"Error waiting on async completer: %s","!BADKEY":"context deadline exceeded"}

Change the log message to add the error as a log argument (like in the rest of the code base).