mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
ircd::resource: Use DERROR for >500 codes; use ERROR for 500 or unknown only.
This commit is contained in:
parent
452c664a8c
commit
1d909b2ffc
1 changed files with 4 additions and 0 deletions
|
@ -1179,6 +1179,10 @@ ircd::resource::response::response(client &client,
|
||||||
log::level::DWARNING:
|
log::level::DWARNING:
|
||||||
ushort(code) >= 400 && ushort(code) < 500?
|
ushort(code) >= 400 && ushort(code) < 500?
|
||||||
log::level::DERROR:
|
log::level::DERROR:
|
||||||
|
ushort(code) == 500?
|
||||||
|
log::level::ERROR:
|
||||||
|
ushort(code) > 500?
|
||||||
|
log::level::DERROR:
|
||||||
log::level::ERROR
|
log::level::ERROR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue