휴가 신청 삭제시 로그파일에 기록되도록 함
This commit is contained in:
@@ -281,13 +281,13 @@ namespace Project.Dialog
|
||||
MessageBox.Show(warningMessage, "포트 충돌 경고", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
}));
|
||||
|
||||
Pub.log.Add($"포트 7979가 이미 사용 중입니다. 웹서버 시작에 문제가 발생할 수 있습니다.");
|
||||
FCOMMON.Pub.log.Add($"포트 7979가 이미 사용 중입니다. 웹서버 시작에 문제가 발생할 수 있습니다.");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// 포트 체크 중 오류가 발생해도 프로그램 실행은 계속
|
||||
Pub.log.AddE($"포트 7979 체크 중 오류 발생: {ex.Message}");
|
||||
FCOMMON.Pub.log.AddE($"포트 7979 체크 중 오류 발생: {ex.Message}");
|
||||
Console.WriteLine($"Port check error: {ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user