Skip to content

Commit

Permalink
Also back off bridge reconnect on DNS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
halfgaar committed Feb 7, 2024
1 parent 9c39016 commit 6d4a7bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion threaddata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ void ThreadData::bridgeReconnect()
}
catch (std::exception &ex)
{
logger->logf(LOG_ERR, "Error creating bridge: %s", ex.what());
logger->log(LOG_ERR) << "Error creating bridge '" << bridge->c.clientidPrefix << "': " << ex.what();
bridge->registerReconnect();
}
}

Expand Down

0 comments on commit 6d4a7bf

Please sign in to comment.