개정판 db0d3db3
플러그인 실행시점 변경.
Change-Id: I947238b7503125168178c893fe47732c93fb0ef8
ConvertService/ServiceBase/Markus.Service.Convert/ConvertService.cs | ||
---|---|---|
90 | 90 |
} |
91 | 91 |
} |
92 | 92 |
|
93 |
|
|
94 | 93 |
/// <summary> |
95 | 94 |
/// markus lib에서 받는 이벤트 |
96 | 95 |
/// </summary> |
... | ... | |
161 | 160 |
|
162 | 161 |
result = await ConvertAsync(saveitem); |
163 | 162 |
|
163 |
// 플러그인 실행 |
|
164 |
PluginService.Run(saveitem.Id); |
|
165 |
|
|
164 | 166 |
StationServiceClient.ConvertFinish(saveitem.Id, (int)result.StatusCode, saveitem.CurrentPage, saveitem.TotalPages,result.Message); |
165 | 167 |
} |
166 | 168 |
catch (Exception ex) |
167 | 169 |
{ |
170 |
result.StatusCode = StatusCodeType.Error; |
|
168 | 171 |
logger.Error($"File Convert Error",ex); |
169 |
StationServiceClient.ConvertFinish(saveitem.Id, (int)result.StatusCode, saveitem.CurrentPage, saveitem.TotalPages, $"ConvertService Error {saveitem.Id}"); |
|
172 |
StationServiceClient.ConvertFinish(saveitem.Id, (int)result.StatusCode, saveitem.CurrentPage, saveitem.TotalPages, $"ConvertService Error {saveitem.Id} {ex.Message} {ex.InnerException?.ToString()}");
|
|
170 | 173 |
} |
171 | 174 |
|
172 | 175 |
return result; |
내보내기 Unified diff