зеркало из https://github.com/github/VisualStudio.git
Fix clashing extension (until rothko is fixed to namespace its
extensions)
This commit is contained in:
Родитель
276f795246
Коммит
31c924e6ad
|
@ -169,7 +169,7 @@ namespace GitHub.ViewModels
|
|||
var createCommand = ReactiveCommand.CreateAsyncObservable(canCreate, OnCreateRepository);
|
||||
createCommand.ThrownExceptions.Subscribe(ex =>
|
||||
{
|
||||
if (!ex.IsCriticalException())
|
||||
if (!Extensions.ExceptionExtensions.IsCriticalException(ex))
|
||||
{
|
||||
// TODO: Throw a proper error.
|
||||
log.Error("Error creating repository.", ex);
|
||||
|
|
|
@ -125,7 +125,7 @@ namespace GitHub.ViewModels
|
|||
var publishCommand = ReactiveCommand.CreateAsyncObservable(canCreate, OnPublishRepository);
|
||||
publishCommand.ThrownExceptions.Subscribe(ex =>
|
||||
{
|
||||
if (!ex.IsCriticalException())
|
||||
if (!Extensions.ExceptionExtensions.IsCriticalException(ex))
|
||||
{
|
||||
// TODO: Throw a proper error.
|
||||
log.Error("Error creating repository.", ex);
|
||||
|
|
Загрузка…
Ссылка в новой задаче