添加异常错误

master
nodyang@aliyun.com 2 months ago
parent 8e5fe57c28
commit 376db435c6

@ -142,6 +142,7 @@ namespace SlnMesnac.TouchSocket
}
catch (Exception e)
{
_logger.LogError(e,e.Message);
log.LogLevel = "Error";
log.ErrMsg=e.Message;
}
@ -189,6 +190,7 @@ namespace SlnMesnac.TouchSocket
}
catch (Exception e)
{
_logger.LogError(e, e.Message);
log.LogLevel = "Error";
log.ErrMsg = e.Message;
}

Loading…
Cancel
Save