Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update AttachmentViewer.cs (#81)

Leendert de Borstbbf08d16d483
diff --git a/src/AliasVault.WebApp/Components/Attachments/AttachmentViewer.razor b/src/AliasVault.WebApp/Components/Attachments/AttachmentViewer.razor
index e317f1ce9..04c81966d 100644
--- a/src/AliasVault.WebApp/Components/Attachments/AttachmentViewer.razor
+++ b/src/AliasVault.WebApp/Components/Attachments/AttachmentViewer.razor
@@ -53,13 +53,13 @@
else
{
// Handle the case where the attachment or its content is not found
- Console.Error.WriteLine($"Attachment not found or has no content: {attachment.Id}");
+ await Console.Error.WriteLineAsync($"Attachment not found or has no content: {attachment.Id}");
}
}
catch (Exception ex)
{
// Handle any exceptions that occur during the download process
- Console.Error.WriteLine($"Error downloading attachment: {ex.Message}");
+ await Console.Error.WriteLineAsync($"Error downloading attachment: {ex.Message}");
}
}
}
\ No newline at end of file