Subject: | Bad JSON processing |
After reading unicode job data from db, worker fails with an error:
[Sat Nov 14 22:44:57 2015] [fatal] Worker error: Input is not UTF-8 encoded at /usr/local/share/perl/5.18.2/Minion/Backend/mysql.pm line 269.
This is due to decode_json is expecting UTF-8 bytes on input. But instead it gets character string, which should be processed with Mojo::JSON::from_json.