Skip to content

Commit 52a2080

Browse files
author
kopturovdim
committed
feat upg: add exception log when faild to cancel request
commit_hash:dd8b046b00c7be7582fba3c7335db24fc3c06044
1 parent 18106ef commit 52a2080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/src/storages/postgres/detail/pg_connection_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ engine::Task PGConnectionWrapper::Cancel() {
294294
try {
295295
detail::Cancel(cancel.get(), engine::Deadline::FromDuration(std::chrono::seconds(5)));
296296
} catch (const std::exception& e) {
297-
PGCW_LOG_LIMITED_WARNING() << "Failed to cancel current request";
297+
PGCW_LOG_LIMITED_WARNING() << "Failed to cancel current request: " << e;
298298
}
299299
});
300300
}

0 commit comments

Comments
 (0)