Skip to content

Commit

Permalink
[TAN-2469] Don't use string for class name
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjagit committed Aug 22, 2024
1 parent 54a367d commit 9671d79
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 9671d79

Please sign in to comment.