0
0
Fork 0
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:
Jason Volk 2019-03-01 13:54:16 -08:00
parent 452c664a8c
commit 1d909b2ffc

View file

@ -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
}; };