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 8fc2a96 commit 41baa62Copy full SHA for 41baa62
src/Bootstrap/BootstrapProcess.cs
@@ -32,8 +32,18 @@ public ExitCode Execute(IEnumerable<string> args)
32
SaveConfig();
33
TrustKeys();
34
35
- ImportEmbedded();
36
- ImportDirectory();
+ try
+ {
37
+ ImportEmbedded();
38
+ ImportDirectory();
39
+ }
40
+ #region Error handling
41
+ catch (ObjectDisposedException ex)
42
43
+ Log.Warn("Stream closed while importing content", ex);
44
+ return ExitCode.IOError;
45
46
+ #endregion
47
48
if (BootstrapConfig.Instance.AppUri == null) ApplySharedOptions();
49
if (_offline) Config.NetworkUse = NetworkLevel.Offline;
0 commit comments