Skip to content

Commit

Permalink
cloud_storage: throw exception not a pointer
Browse files Browse the repository at this point in the history
Noticed while manually reviewing code.

No change in behavior expected.
  • Loading branch information
nvartolomei committed Nov 4, 2024
1 parent 41882b9 commit 6e1e998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/cloud_storage/cache_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ ss::future<> cache::put(
// trim due to throttling.
co_await trim_throttled();

throw disk_full_error;
std::rethrow_exception(disk_full_error);
}

// commit write transaction
Expand Down

0 comments on commit 6e1e998

Please sign in to comment.