fixed backend tests
This commit is contained in:
@@ -73,7 +73,7 @@ utils::result<void, utils::error> connection::open() const
|
||||
if (res.is_error()) {
|
||||
return utils::failure(res.err());
|
||||
}
|
||||
if (*res) {
|
||||
if (!*res) {
|
||||
logger_->on_connect();
|
||||
return connection_->open();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user