mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::net::dns: End catch block before invoking callbacks.
This commit is contained in:
parent
fe4c7bb12e
commit
47204888d6
1 changed files with 4 additions and 0 deletions
|
@ -507,6 +507,7 @@ try
|
|||
}
|
||||
catch(const http::error &e)
|
||||
{
|
||||
const ctx::exception_handler eh;
|
||||
log::error
|
||||
{
|
||||
log, "cache put (%s, %s) code:%u (%s) :%s %s",
|
||||
|
@ -530,6 +531,7 @@ catch(const http::error &e)
|
|||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
const ctx::exception_handler eh;
|
||||
log::error
|
||||
{
|
||||
log, "cache put (%s, %s) code:%u (%s) :%s",
|
||||
|
@ -630,6 +632,7 @@ try
|
|||
}
|
||||
catch(const http::error &e)
|
||||
{
|
||||
const ctx::exception_handler eh;
|
||||
log::error
|
||||
{
|
||||
log, "cache put (%s, %s) rrs:%zu :%s %s",
|
||||
|
@ -652,6 +655,7 @@ catch(const http::error &e)
|
|||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
const ctx::exception_handler eh;
|
||||
log::error
|
||||
{
|
||||
log, "cache put (%s, %s) rrs:%zu :%s",
|
||||
|
|
Loading…
Reference in a new issue