개정판 cf1cc862
licensing 수정
Change-Id: I3bffa280e0205be1031c133bf4716929fcbd7c54
FinalService/KCOM_FinalService/FinalProcess/Program.cs | ||
---|---|---|
86 | 86 |
|
87 | 87 |
if (items.Count() > 0) |
88 | 88 |
{ |
89 |
items.First().STATUS = (int)status; |
|
89 |
var currentItem = items.First(); |
|
90 |
|
|
91 |
currentItem.STATUS = (int)status; |
|
90 | 92 |
|
91 | 93 |
if(!string.IsNullOrWhiteSpace(ex)) |
92 | 94 |
{ |
93 |
if (items.First().EXCEPTION.Length < int.MaxValue - ex.Length) |
|
95 |
int exLength = (currentItem.EXCEPTION == null)? 0: currentItem.EXCEPTION.Length; |
|
96 |
|
|
97 |
if (exLength < int.MaxValue - ex.Length) |
|
98 |
{ |
|
99 |
currentItem.EXCEPTION = currentItem.EXCEPTION + " " + ex; |
|
100 |
} |
|
101 |
else |
|
94 | 102 |
{ |
95 |
items.First().EXCEPTION = items.First().EXCEPTION + ex; |
|
96 | 103 |
} |
97 | 104 |
} |
98 | 105 |
|
... | ... | |
101 | 108 |
} |
102 | 109 |
} |
103 | 110 |
|
104 |
|
|
105 | 111 |
private static void _markuptoPDF_StatusChange(object sender, StatusChangedEventArgs e) |
106 | 112 |
{ |
107 |
StatusChange(FinalStatus.Error, e.Error);
|
|
113 |
StatusChange(e.Status, e.Message);
|
|
108 | 114 |
} |
109 | 115 |
|
110 | 116 |
private static void _markuptoPDF_FinalMakeError(object sender, MakeFinalErrorArgs e) |
내보내기 Unified diff