개정판 d91efe5c
issue #00000 download plugin 추가
Change-Id: I54fda0acd2594e6978c5ce0f3c28c92ebf899bd6
ConvertService/ServiceBase/Markus.Service.Convert/DownloadPlugin.cs | ||
---|---|---|
6 | 6 |
using System.Text; |
7 | 7 |
using System.Threading.Tasks; |
8 | 8 |
using Markus.Service.Convert.Plugin; |
9 |
using log4net; |
|
10 | 9 |
|
11 | 10 |
namespace Markus.Service |
12 | 11 |
{ |
... | ... | |
33 | 32 |
} |
34 | 33 |
else |
35 | 34 |
{ |
36 |
error += $"plugin : {item.Name}{Environment.NewLine}{item.Exception}"; |
|
35 |
var msg = $" not working {item.Name} {item.Exception}"; |
|
36 |
Console.WriteLine(msg); |
|
37 |
error += msg; |
|
37 | 38 |
} |
38 | 39 |
} |
39 | 40 |
|
40 | 41 |
if (!result) |
41 | 42 |
{ |
42 |
throw new Exception(error); |
|
43 |
throw new Exception("download plugin Error : " + error);
|
|
43 | 44 |
} |
44 | 45 |
} |
46 |
else |
|
47 |
{ |
|
48 |
throw new Exception("plugins is null"); |
|
49 |
} |
|
45 | 50 |
|
46 | 51 |
return result; |
47 | 52 |
} |
내보내기 Unified diff