/// <summary> /// Handler in case the MessageController throws an error. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void OnMessageControllerHandlerError(object sender, HandlerErrorEventArgs e) { string error = e.ExceptionMessage + Environment.NewLine + "PacketDump:" + Environment.NewLine + BitConverter.ToString(e.MessageDump) + Environment.NewLine; Logger.Log(MODULENAME, LogType.Error, error); }
protected void OnHandlerError(HandlerErrorEventArgs e) { if (HandlerError != null) HandlerError(this, e); }