Skip to content

Commit

Permalink
feat(errors): pass CheckNeverRunError
Browse files Browse the repository at this point in the history
  • Loading branch information
jts04 committed Dec 26, 2023
1 parent 595dabb commit fb68c1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/services/github_checks_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ class GithubChecksVerifier < ApplicationService

def call
wait_for_checks
rescue CheckNeverRunError, CheckConclusionNotAllowedError => e
rescue CheckNeverRunError => e
puts e.message
exit(true)
rescue CheckConclusionNotAllowedError => e
puts e.message
exit(false)
end
Expand Down

0 comments on commit fb68c1c

Please sign in to comment.