diff options
author | Bob Arnson <bob@firegiant.com> | 2024-02-28 21:35:41 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-02-28 22:21:03 -0500 |
commit | 1a1da6f105baf47babf292ea71a8218868071c5a (patch) | |
tree | 507d748ac1f9918dde8af1c622a4acf1c1d62399 | |
parent | b62127f2f458d15ca22ff2a5398f5ed80c72a6a6 (diff) | |
download | wix-1a1da6f105baf47babf292ea71a8218868071c5a.tar.gz wix-1a1da6f105baf47babf292ea71a8218868071c5a.tar.bz2 wix-1a1da6f105baf47babf292ea71a8218868071c5a.zip |
Add detail when failing to extract containers.
-rw-r--r-- | src/wix/WixToolset.Core.Burn/BurnBackendWarnings.cs | 4 | ||||
-rw-r--r-- | src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/wix/WixToolset.Core.Burn/BurnBackendWarnings.cs b/src/wix/WixToolset.Core.Burn/BurnBackendWarnings.cs index 3b2ecdd7..9c7cde13 100644 --- a/src/wix/WixToolset.Core.Burn/BurnBackendWarnings.cs +++ b/src/wix/WixToolset.Core.Burn/BurnBackendWarnings.cs | |||
@@ -26,9 +26,9 @@ namespace WixToolset.Core.Burn | |||
26 | return Message(sourceLineNumbers, Ids.EmptyContainer, "The Container '{0}' is being ignored because it doesn't have any payloads.", containerId); | 26 | return Message(sourceLineNumbers, Ids.EmptyContainer, "The Container '{0}' is being ignored because it doesn't have any payloads.", containerId); |
27 | } | 27 | } |
28 | 28 | ||
29 | public static Message FailedToExtractAttachedContainers(SourceLineNumber sourceLineNumbers) | 29 | public static Message FailedToExtractAttachedContainers(SourceLineNumber sourceLineNumbers, string message) |
30 | { | 30 | { |
31 | return Message(sourceLineNumbers, Ids.FailedToExtractAttachedContainers, "Failed to extract attached container. This most often happens when extracting a stripped bundle from the package cache, which is not supported."); | 31 | return Message(sourceLineNumbers, Ids.FailedToExtractAttachedContainers, "Failed to extract attached container. This most often happens when extracting a stripped bundle from the package cache, which is not supported. Detail: {0}", message); |
32 | } | 32 | } |
33 | 33 | ||
34 | public static Message HiddenBundleNotSupported(SourceLineNumber sourceLineNumbers, string packageId) | 34 | public static Message HiddenBundleNotSupported(SourceLineNumber sourceLineNumbers, string packageId) |
diff --git a/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs b/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs index a6660a06..091b75a6 100644 --- a/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs +++ b/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs | |||
@@ -72,9 +72,9 @@ namespace WixToolset.Core.Burn.CommandLine | |||
72 | reader.ExtractAttachedContainers(this.ExtractContainersPath, this.IntermediateFolder); | 72 | reader.ExtractAttachedContainers(this.ExtractContainersPath, this.IntermediateFolder); |
73 | } | 73 | } |
74 | } | 74 | } |
75 | catch | 75 | catch (Exception e) |
76 | { | 76 | { |
77 | this.Messaging.Write(BurnBackendWarnings.FailedToExtractAttachedContainers(new SourceLineNumber(this.ExtractContainersPath))); | 77 | this.Messaging.Write(BurnBackendWarnings.FailedToExtractAttachedContainers(new SourceLineNumber(this.ExtractContainersPath), e.Message)); |
78 | } | 78 | } |
79 | } | 79 | } |
80 | } | 80 | } |