private void HandleInternalEngineError(object sender, InternalEngineErrorEventArgs e) { Log.Error(null, "Internal engine error"); UserLog.Add(UserLog.Icon.Error, LogStrings.InternalEngineError); InternalEngineErrorReported.Raise(this); StopRecordingCommand.Execute(null); }
protected virtual void OnInternalEngineErrorReported(EngineComputationException exception) { InternalEngineErrorReported?.Invoke(this, new InternalEngineErrorEventArgs(exception)); }