개정판 150747cb
issue #0001: ServiceStation db 접속 불가시 종료현상 수정
Change-Id: I2eb4839e429fdbb65c3491ff40cdbe39f7d1bce1
ConvertService/ServiceBase/Markus.Service.Station/ServiceStation.cs | ||
---|---|---|
81 | 81 |
configFileName = $"{typeof(ServiceStation).Name}.ini"; |
82 | 82 |
config = ConfigHelper.AppConfig(this.configFileName); |
83 | 83 |
} |
84 |
catch (Exception) |
|
84 |
catch (Exception ex)
|
|
85 | 85 |
{ |
86 |
throw new Exception("Config Read Error."); |
|
86 |
throw new Exception("Config Read Error.", ex);
|
|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
if (config != null) |
... | ... | |
400 | 400 |
} |
401 | 401 |
|
402 | 402 |
|
403 |
if ((DateTime.Now - logTime) >= new TimeSpan(0, 5, 0))
|
|
403 |
if ((DateTime.Now - logTime) >= new TimeSpan(0, 5,0)) |
|
404 | 404 |
{ |
405 | 405 |
logTime = DateTime.Now; |
406 | 406 |
logger.Info("StationService Alive Check"); |
내보내기 Unified diff