Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 private void OnCoreStateChangeFailed(object sender, StateChangeFailedEventArgs stateChangeFailedEventArgs)
 {
     Log.Warn("Core state change failed with: {error}", stateChangeFailedEventArgs.ErrorMessage);
     StateChangeFailed?.Invoke(this, stateChangeFailedEventArgs);
 }