Skip to content

Commit 476a42b

Browse files
justinkorosa
authored andcommitted
Clean up executable.rb
Closes #89
1 parent 282d75d commit 476a42b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/models/solid_queue/job/executable.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ def finished?
5050
finished_at.present?
5151
end
5252

53-
def failed_with(exception)
54-
FailedExecution.create_or_find_by!(job_id: id, exception: exception)
55-
end
56-
5753
def discard
5854
destroy unless claimed?
5955
end

0 commit comments

Comments
 (0)