File tree Expand file tree Collapse file tree 5 files changed +15
-11
lines changed Expand file tree Collapse file tree 5 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 155
155
railties (>= 5 )
156
156
drb (2.2.1 )
157
157
erubi (1.12.0 )
158
- et-orbi (1.2.9 )
158
+ et-orbi (1.2.10 )
159
159
tzinfo
160
160
factory_bot (6.4.6 )
161
161
activesupport (>= 5.0.0 )
446
446
stimulus-rails (1.3.3 )
447
447
railties (>= 6.0.0 )
448
448
stringio (3.1.0 )
449
- stripe (10.12 .0 )
449
+ stripe (10.13 .0 )
450
450
tailwindcss-rails (2.3.0-aarch64-linux )
451
451
railties (>= 6.0.0 )
452
452
tailwindcss-rails (2.3.0-arm64-darwin )
465
465
concurrent-ruby (~> 1.0 )
466
466
unicode-display_width (2.5.0 )
467
467
uri (0.13.0 )
468
- version_gem (1.1.3 )
468
+ version_gem (1.1.4 )
469
469
warden (1.2.9 )
470
470
rack (>= 2.0.9 )
471
471
web-console (4.2.1 )
Original file line number Diff line number Diff line change 1
- web: RUBY_DEBUG_OPEN=true bin/rails s -p 3000
1
+ web: RUBY_DEBUG_OPEN=true RUBY_DEBUG_SESSION_NAME=rails bin/rails s -p 3000
2
2
css: bin/rails tailwindcss:watch
3
- solid_queue: RUBY_DEBUG_OPEN=true bundle exec rake solid_queue:start
3
+ solid_queue: RUBY_DEBUG_OPEN=true RUBY_DEBUG_SESSION_NAME=solid_queue bundle exec rake solid_queue:start
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
class ApplicationJob < ActiveJob ::Base
4
- # Automatically retry jobs that encountered a deadlock
5
4
retry_on ActiveRecord ::Deadlocked
6
5
7
- # Most jobs are safe to ignore if the underlying records are no longer available
8
6
discard_on ActiveJob ::DeserializationError , ActiveStorage ::IntegrityError
7
+
8
+ rescue_from ( Exception ) do |exception |
9
+ Appsignal . send_error ( exception )
10
+ raise exception
11
+ end
9
12
end
Original file line number Diff line number Diff line change 5
5
class ScreenshotTakerJob < ApplicationJob
6
6
queue_as :low
7
7
8
- rescue_from ( ActiveJob ::DeserializationError ) do
9
- true
10
- end
11
-
12
8
def perform ( shot )
13
9
return if shot . screenshot?
14
10
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ class ApplicationMailer < ActionMailer::Base
7
7
layout "mailer"
8
8
helper_method :notification_exists?
9
9
10
+ rescue_from ( Exception ) do |exception |
11
+ Appsignal . send_error ( exception )
12
+ raise exception
13
+ end
14
+
10
15
private
11
16
12
17
def check_subscription
You can’t perform that action at this time.
0 commit comments