private void threadSpin() { try { threadSpinCore(); } catch (Exception error) { var em = new NFX.Log.Message { Type = Log.MessageType.CatastrophicError, Topic = CoreConsts.ERLANG_TOPIC, From = GetType().Name + "threadSpin()", Text = "threadSpinCore leaked: " + error.ToMessageWithType(), Exception = error }; App.Log.Write(em); } }
private void threadSpin() { try { threadSpinCore(); } catch(Exception error) { var em = new NFX.Log.Message { Type = Log.MessageType.CatastrophicError, Topic = CoreConsts.ERLANG_TOPIC, From = GetType().Name + "threadSpin()", Text = "threadSpinCore leaked: " + error.ToMessageWithType(), Exception = error }; App.Log.Write(em); } }