|
@@ -59,7 +59,7 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
}
|
|
|
catch (Exception exception)
|
|
|
{
|
|
|
- LogUtil.WriteLog(exception.Message + "\r\n" + exception.StackTrace);
|
|
|
+ LogUtil.WriteLog(exception.Message + ">>>>" + exception.StackTrace);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -208,7 +208,7 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
}
|
|
|
catch (Exception exception)
|
|
|
{
|
|
|
- LogUtil.WriteLog(exception.Message + "\r\n" + exception.StackTrace);
|
|
|
+ LogUtil.WriteLog(exception.Message + ">>>>" + exception.StackTrace);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -384,8 +384,9 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
{
|
|
|
MessageBox.Show(this, message, caption, MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
|
|
|
}
|
|
|
- catch
|
|
|
+ catch(Exception ex)
|
|
|
{
|
|
|
+ LogUtil.WriteLog(ex.Message + ">>>>" + ex.StackTrace);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -421,9 +422,9 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
//rtxt_ResultMessage.AppendText("\r\n" + item.Name + ":" + item.Value);
|
|
|
|
|
|
}
|
|
|
- catch (Exception exception)
|
|
|
+ catch (Exception ex)
|
|
|
{
|
|
|
-
|
|
|
+ LogUtil.WriteLog(ex.Message + ">>>>" + ex.StackTrace);
|
|
|
}
|
|
|
}
|
|
|
logQueue.Enqueue(rs.ToString());
|
|
@@ -536,8 +537,9 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
return ;
|
|
|
}
|
|
|
}
|
|
|
- catch (Exception exception)
|
|
|
+ catch (Exception ex)
|
|
|
{
|
|
|
+ LogUtil.WriteLog(ex.Message + ">>>>" + ex.StackTrace);
|
|
|
return;
|
|
|
}
|
|
|
|