Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit 0f81189

Browse files
author
Dankrushen
committed
Fix file copy error message
1 parent 6d592b3 commit 0f81189

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

MultiAdmin/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace MultiAdmin
1515
{
1616
public static class Program
1717
{
18-
public const string MaVersion = "3.2.4.2";
18+
public const string MaVersion = "3.2.4.3";
1919
public const string RecommendedMonoVersion = "5.18";
2020

2121
private static readonly List<Server> InstantiatedServers = new List<Server>();

MultiAdmin/Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ public bool CopyFromDir(string sourceDir, string[] fileWhitelist = null, string[
768768
}
769769
catch (Exception e)
770770
{
771-
Write(new ColoredMessage[] {new ColoredMessage("Error while copying files and folders:", ConsoleColor.Red), new ColoredMessage(e.ToString(), ConsoleColor.Red)});
771+
Write($"Error while copying files and folders:\n{e}", ConsoleColor.Red);
772772
}
773773

774774
return false;

0 commit comments

Comments
 (0)