lib/rocket_job/job_exception.rb in rocketjob-6.0.0 vs lib/rocket_job/job_exception.rb in rocketjob-6.0.1

- old
+ new

@@ -21,10 +21,10 @@ # Returns [JobException] built from the supplied exception def self.from_exception(exc, **args) new( args.merge( class_name: exc.class.name, - message: exc.message, + message: exc.message.to_s.encode("UTF-8", replace: ""), backtrace: exc.backtrace || [] ) ) end end