We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba6edd commit 41134b1Copy full SHA for 41134b1
LiveWriterPluginManager/Services/ZipService.cs
@@ -18,6 +18,13 @@ public interface IZipService
18
19
public class ZipService : IZipService
20
{
21
+ private readonly IMessageService _messageService;
22
+
23
+ public ZipService(IMessageService messageService)
24
+ {
25
+ _messageService = messageService;
26
+ }
27
28
public async Task<Plugin> UnzipFileAsync(string filePath)
29
30
Plugin result = null;
@@ -55,7 +62,7 @@ await Task.Run(async () =>
55
62
}
56
63
catch (Exception ex)
57
64
58
- // TODO: something here
65
+ await _messageService.ShowErrorAsync("There was an error unpacking this zip file: " + ex.Message);
59
66
60
67
61
68
return result;
0 commit comments