0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-08-16 11:53:07 +00:00

server: remove dbg! in trace

This commit is contained in:
Lucio Franco
2023-12-01 11:54:39 -05:00
parent 2f9b888256
commit 82ef23b1ce

View File

@@ -58,7 +58,7 @@ pub(crate) fn response<B>(res: &Response<B>, latency: Duration, span: &Span) {
} else {
let grpc = GrpcErrorsAsFailures::new().with_success(GrpcCode::FailedPrecondition);
let code = match dbg!(grpc.classify_response(res)) {
let code = match grpc.classify_response(res) {
ClassifiedResponse::Ready(Ok(())) => "0".to_string(),
ClassifiedResponse::Ready(Err(GrpcFailureClass::Code(code))) => {
metrics::increment_counter!("libsql_server_user_http_fault", "protcol" => "grpc");