mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
refactor<Exception>: add context to exception to filter exceptions; each page has it's own error display control
This commit is contained in:
parent
c85052bbcc
commit
838e688a0c
15 changed files with 79 additions and 44 deletions
|
@ -14,7 +14,7 @@ namespace SourceGit.Views.Popups {
|
|||
public FastForwardWithoutCheckout(string repo, string branch, string upstream) {
|
||||
int idx = upstream.IndexOf('/');
|
||||
if (idx < 0 || idx == upstream.Length - 1) {
|
||||
Models.Exception.Raise($"Invalid upstream: {upstream}");
|
||||
App.Exception(repo, $"Invalid upstream: {upstream}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue