mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +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)
|
catch(const http::error &e)
|
||||||
{
|
{
|
||||||
|
const ctx::exception_handler eh;
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "cache put (%s, %s) code:%u (%s) :%s %s",
|
log, "cache put (%s, %s) code:%u (%s) :%s %s",
|
||||||
|
@ -530,6 +531,7 @@ catch(const http::error &e)
|
||||||
}
|
}
|
||||||
catch(const std::exception &e)
|
catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
|
const ctx::exception_handler eh;
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "cache put (%s, %s) code:%u (%s) :%s",
|
log, "cache put (%s, %s) code:%u (%s) :%s",
|
||||||
|
@ -630,6 +632,7 @@ try
|
||||||
}
|
}
|
||||||
catch(const http::error &e)
|
catch(const http::error &e)
|
||||||
{
|
{
|
||||||
|
const ctx::exception_handler eh;
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "cache put (%s, %s) rrs:%zu :%s %s",
|
log, "cache put (%s, %s) rrs:%zu :%s %s",
|
||||||
|
@ -652,6 +655,7 @@ catch(const http::error &e)
|
||||||
}
|
}
|
||||||
catch(const std::exception &e)
|
catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
|
const ctx::exception_handler eh;
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "cache put (%s, %s) rrs:%zu :%s",
|
log, "cache put (%s, %s) rrs:%zu :%s",
|
||||||
|
|
Loading…
Add table
Reference in a new issue