chore(task_queue): add logging

This commit is contained in:
Paul
2021-11-02 13:41:08 +00:00
parent 012a30ce61
commit 8eb6f5a8af
5 changed files with 16 additions and 16 deletions
+2
View File
@@ -1,5 +1,6 @@
// Queue Type: Linear
use async_channel::{ Sender, Receiver, bounded };
use log::info;
use mongodb::bson::{doc, to_bson};
use crate::{database::*, notifications::events::ClientboundNotification};
@@ -38,6 +39,7 @@ pub async fn run() {
)
.await
{
info!("Generated embeds for {}.", &id);
ClientboundNotification::MessageUpdate {
id,
channel: channel.clone(),