enhance: show inner exception message if possible when check update failed

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-18 15:55:32 +08:00
parent 760e44877b
commit 822452a20c
No known key found for this signature in database
3 changed files with 43 additions and 24 deletions

View file

@ -532,7 +532,7 @@ namespace SourceGit
catch (Exception e)
{
if (manually)
ShowSelfUpdateResult(e);
ShowSelfUpdateResult(new Models.SelfUpdateFailed(e));
}
});
}