fix warn message on 500 error codes

This commit is contained in:
Bryan Stitt 2022-12-19 21:39:17 -08:00
parent 82eb449e96
commit 28510f8bba

@ -224,7 +224,7 @@ impl IntoResponse for FrontendErrorResponse {
// different status codes should get different error levels. 500s should warn. 400s should stat
let code = status_code.as_u16();
if (500..600).contains(&code) {
warn!("user error {} {:?}: {:?}", code, err_msg, err);
warn!("server error {} {:?}: {:?}", code, err_msg, err);
} else {
trace!("user error {} {:?}: {:?}", code, err_msg, err);
}