예외 발생시 에러코드 출력 가능하도록 수정

This commit is contained in:
2025-12-07 04:13:40 +09:00
parent 8458995132
commit 5e673375d4

View File

@@ -3,7 +3,7 @@ namespace WarhoundConsole
{
public class Program
{
public static void Main(string[] args)
public static int Main(string[] args)
{
try
{
@@ -12,7 +12,10 @@ namespace WarhoundConsole
catch (Exception e)
{
Console.WriteLine(e);
return -1;
}
return 0;
}
private static void MainInternal(string[] args)