joakimk / toniq

Simple and reliable background job processing library for Elixir.
http://toniq.elixir.pm/
340 stars 25 forks source link

Fix JobProcess crash caused by non-string errors #41

Closed safwank closed 7 years ago

safwank commented 7 years ago

Sometimes when the process crashes, it receives a non-string error (tuple, map, struct, etc), which can't be logged without inspect. This causes JobProcess to crash and restart endlessly.

This PR fixes the above issue.

safwank commented 7 years ago

@joakimk It'd be great it if you could merge this PR. Thanks.

joakimk commented 7 years ago

Sorry it took a while but now it's merged and released as 1.2.2. Thanks! :)

safwank commented 7 years ago

Cheers @joakimk!