lib/rocket_job/job_exception.rb in rocketjob-0.8.0 vs lib/rocket_job/job_exception.rb in rocketjob-0.9.0
- old
+ new
@@ -1,10 +1,10 @@
# encoding: UTF-8
module RocketJob
# Heartbeat
#
- # Information from the server as at it's last heartbeat
+ # Information from the worker as at it's last heartbeat
class JobException
include MongoMapper::EmbeddedDocument
# Name of the exception class
key :class_name, String
@@ -13,11 +13,11 @@
key :message, String
# Exception Backtrace [Array<String>]
key :backtrace, Array
- # Name of the server on which this exception occurred
- key :server_name, String
+ # Name of the worker on which this exception occurred
+ key :worker_name, String
# The record within which this exception occurred
key :record_number, Integer
# Returns [JobException] built from the supplied exception