Skip to content

Commit f420f5a

Browse files
committed
add logging
1 parent 910610d commit f420f5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webserver/database/sqlpage_functions/functions.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,13 @@ async fn fetch_with_meta(
285285
}
286286
}
287287
Err(e) => {
288+
log::warn!("Failed to read response body: {e}");
288289
obj.serialize_entry("error", &format!("Failed to read response body: {e}"))?;
289290
}
290291
}
291292
}
292293
Err(e) => {
294+
log::warn!("Request failed: {e}");
293295
obj.serialize_entry("error", &format!("Request failed: {e}"))?;
294296
}
295297
}

0 commit comments

Comments
 (0)