|
@@ -1,4 +1,5 @@
|
|
using DBHelper;
|
|
using DBHelper;
|
|
|
|
+using Logs;
|
|
using System;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
@@ -67,7 +68,7 @@ namespace WCS.Core
|
|
{
|
|
{
|
|
sw.Stop();
|
|
sw.Stop();
|
|
failed = true;
|
|
failed = true;
|
|
- throw;
|
|
|
|
|
|
+ throw new Exception($"[Type:{ex.GetType().Name}][StackTrace:{ex.StackTrace}][Message:{ex.Message.Replace("\r\n", " ")}]");
|
|
}
|
|
}
|
|
finally
|
|
finally
|
|
{
|
|
{
|