Remove trace logs for webhook recreation
This commit is contained in:
@@ -268,9 +268,7 @@ impl OnMessageHandler<State> for CallMessageHandler {
|
|||||||
{
|
{
|
||||||
if error.code == 10015 {
|
if error.code == 10015 {
|
||||||
log::debug!("Webhook not found, updating...");
|
log::debug!("Webhook not found, updating...");
|
||||||
log::trace!("Webhook ID before the update: {}", opposite_channel.webhook_id.unwrap_or(0));
|
|
||||||
opposite_channel.update_webhook(&rt.state.db, &rt.http).await?;
|
opposite_channel.update_webhook(&rt.state.db, &rt.http).await?;
|
||||||
log::trace!("Webhook ID after the update: {}", opposite_channel.webhook_id.unwrap_or(0));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Ok(());
|
return Ok(());
|
||||||
|
|||||||
Reference in New Issue
Block a user