Log warning

This commit is contained in:
defnotken
2025-11-11 10:54:24 -06:00
parent f4ac99ba05
commit fac5b3caef

View File

@@ -55,7 +55,7 @@ public class LightlessModule : InteractionModuleBase
var profileData = await GetUserProfileData(db, uidToGet).ConfigureAwait(false); var profileData = await GetUserProfileData(db, uidToGet).ConfigureAwait(false);
if (profileData != null) if (profileData != null)
{ {
_logger.LogInformation("Fetching profile image for UID: {uid}", uidToGet); _logger.LogWarning("Fetching profile image for UID: {uid}", uidToGet);
byte[] profileImage = await GetProfileImage(db, uid).ConfigureAwait(false); byte[] profileImage = await GetProfileImage(db, uid).ConfigureAwait(false);
MemoryStream ms = new(profileImage); MemoryStream ms = new(profileImage);
await using (ms.ConfigureAwait(false)) await using (ms.ConfigureAwait(false))