Log warning
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user