private void HandleError(string errorMessage) { // TODO(HonzaS): move this up to the clients of CoreProxy. Log.Warn("Core error: {error}", errorMessage); StateChangeFailed?.Invoke(this, new StateChangeFailedEventArgs(errorMessage)); }
private void OnCoreStateChangeFailed(object sender, StateChangeFailedEventArgs stateChangeFailedEventArgs) { Log.Warn("Core state change failed with: {error}", stateChangeFailedEventArgs.ErrorMessage); StateChangeFailed?.Invoke(this, stateChangeFailedEventArgs); }