예외 발생시 에러코드 출력 가능하도록 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user