mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 00:36:44 +00:00
@@ -234,9 +234,9 @@ SubscriptionSource::handleError(util::requests::RequestError const& error, boost
|
||||
}
|
||||
|
||||
if (wsConnection_ != nullptr) {
|
||||
auto const error = wsConnection_->close(yield);
|
||||
if (error) {
|
||||
LOG(log_.error()) << "Error closing websocket connection: " << error->message();
|
||||
auto const err = wsConnection_->close(yield);
|
||||
if (err) {
|
||||
LOG(log_.error()) << "Error closing websocket connection: " << err->message();
|
||||
}
|
||||
wsConnection_.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user