Skip to content

Commit b407f2a

Browse files
committed
fix test
1 parent 4b5807c commit b407f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/solid_errors/occurrence.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module SolidErrors
22
class Occurrence < Record
33
belongs_to :error, class_name: "SolidErrors::Error"
44

5-
after_create_commit :send_email, if: -> { SolidErrors.send_emails && SolidErrors.email_to.present? }
5+
after_create_commit :send_email, if: -> { SolidErrors.send_emails? && SolidErrors.email_to.present? }
66
after_create_commit :clear_resolved_errors, if: :should_clear_resolved_errors?
77

88
# The parsed exception backtrace. Lines in this backtrace that are from installed gems

0 commit comments

Comments
 (0)