Skip to content

Commit

Permalink
Merge pull request #8750 from CitizenLabDotCo/TAN-2469-do-not-use-str…
Browse files Browse the repository at this point in the history
…ing-for-class

[TAN-2469] Don't use string for class name
  • Loading branch information
jinjagit authored Aug 22, 2024
2 parents e8f483f + 9671d79 commit 55395af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def execute(plan)
task.set_succeeded!
rescue SummarizationFailedError, Faraday::BadRequestError => e
extra = {}
if e.instance_of?('Faraday::BadRequestError')
if e.instance_of?(Faraday::BadRequestError)
extra[:response] = e&.response
extra[:response_headers] = e&.response&.headers
extra[:response_body] = e&.response&.body
Expand Down

0 comments on commit 55395af

Please sign in to comment.