Refactor embed module functions and apply clippy lints with rustfmt #19
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ pub async fn embed_handler(event: OriginalSyncRoomMessageEvent, room: Room, clie
|
|||
|
||||
for url in urls {
|
||||
match reqwest_client.get(url).send().await {
|
||||
Err(e) => warn!("Failed to fetch metadata for URL'{}' with error: '{:?}'", &url, e),
|
||||
Err(e) => warn!("Failed to fetch metadata for URL '{}' with error: '{:?}'", &url, e),
|
||||
Ok(req) => {
|
||||
match req.text().await {
|
||||
Err(e) => warn!("Failed to parse HTML for URL '{}' with error: '{:?}'", &url, e),
|
||||
|
|
Loading…
Reference in a new issue