diff --git a/EasyZoneBuilder.Core/ZoneBuilder.cs b/EasyZoneBuilder.Core/ZoneBuilder.cs index 2fb533b..dbd2f31 100644 --- a/EasyZoneBuilder.Core/ZoneBuilder.cs +++ b/EasyZoneBuilder.Core/ZoneBuilder.cs @@ -50,7 +50,7 @@ public static async Task Execute( params string[] commands ) string err = await p.StandardError.ReadToEndAsync(); if ( !string.IsNullOrEmpty(err.Trim()) ) { - throw new Exception("Zonebuilder: " + err); + throw new Exception($"{TargetExecutable.FullName} {args} : " + err); } ret.AppendLine(raw.Substring(raw.LastIndexOf('"') + 3).Replace("\r", string.Empty)); }