Class: Panoptic::FailedJob

Inherits:
SolidQueue::Job
  • Object
show all
Defined in:
app/models/panoptic/failed_job.rb

Instance Method Summary collapse

Instance Method Details

#enqueued_atObject



8
9
10
# File 'app/models/panoptic/failed_job.rb', line 8

def enqueued_at
  Time.parse(arguments["enqueued_at"])
end

#exception_classObject



12
13
14
# File 'app/models/panoptic/failed_job.rb', line 12

def exception_class
  failed_execution.error["exception_class"]
end

#exception_messageObject



16
17
18
# File 'app/models/panoptic/failed_job.rb', line 16

def exception_message
  failed_execution.error["message"]
end

#stacktraceObject



20
21
22
# File 'app/models/panoptic/failed_job.rb', line 20

def stacktrace
  failed_execution.error["backtrace"]
end