Custom fail message on an around hook with a Timeout exception

doing this which works to make sure that no infinite loop happens:

RSpec.configure do |config|
config.around(:example, finite: true) do |example|
Timeout.timeout(wait_time) do
example.run
end
end
end

My desired example is:

it “should not run over #{wait_time} seconds”, finite: true do
run and tests
end

But, on a Time failure I want to add the details of the Timeout failure to reproduce it in a console and I don’t want those details on a success. On a success, I just want the the original example description.

Right now, I can only dynamically put the details on the example description similar to this:

it “should not run over #{wait_time} seconds\n#{dump_teams(team_ids, statement)}”, finite: true do
…blah, blah, blah…
end

The dump_teams can produce a very very large string and makes the summary report very very large.

Is there a way to append to the description in that around hook? I tried a rescue. I tried other things. Any ideas?