Skip to content

Commit

Permalink
added more detailed exeption messag in zonebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
kruumy committed Mar 10, 2023
1 parent 02187d4 commit 34ec587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EasyZoneBuilder.Core/ZoneBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static async Task<string> 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));
}
Expand Down

0 comments on commit 34ec587

Please sign in to comment.