~vpzom/hitide

e20356ffdfd5eb6422058de636b4a4d34c912e6b — Matthias Beyer 2 months ago 489ebc6
Replace println!() calls with log::debug!()

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
3 files changed, 4 insertions(+), 4 deletions(-)

M src/routes/communities.rs
M src/routes/mod.rs
M src/routes/posts.rs
M src/routes/communities.rs => src/routes/communities.rs +2 -2
@@ 871,7 871,7 @@ async fn handler_communities_new_post_submit(
                                Some(lang.tr("post_new_missing_content_type", None).into_owned());
                        }
                        Some(mime) => {
                            println!("will upload media");
                            log::debug!("will upload media");
                            let res = res_to_error(
                                ctx.http_client
                                    .request(for_client(


@@ 906,7 906,7 @@ async fn handler_communities_new_post_submit(
                                }
                            }

                            println!("finished media upload");
                            log::debug!("finished media upload");
                        }
                    }
                }

M src/routes/mod.rs => src/routes/mod.rs +1 -1
@@ 665,7 665,7 @@ async fn handler_comment_submit_reply(
                            }
                        }

                        println!("finished media upload");
                        log::debug!("finished media upload");
                    }
                }
            } else {

M src/routes/posts.rs => src/routes/posts.rs +1 -1
@@ 522,7 522,7 @@ async fn handler_post_submit_reply(
                            }
                        }

                        println!("finished media upload");
                        log::debug!("finished media upload");
                    }
                }
            } else {