mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
better thread panic error message
This commit is contained in:
parent
1aa4024721
commit
c9cd018394
2 changed files with 6 additions and 2 deletions
|
|
@ -96,7 +96,9 @@ impl AsyncDiff {
|
|||
}
|
||||
|
||||
if notify {
|
||||
sender.send(AsyncNotification::Diff).unwrap();
|
||||
sender
|
||||
.send(AsyncNotification::Diff)
|
||||
.expect("error sending diff");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,9 @@ impl AsyncStatus {
|
|||
}
|
||||
|
||||
if notify {
|
||||
sender.send(AsyncNotification::Status).unwrap();
|
||||
sender
|
||||
.send(AsyncNotification::Status)
|
||||
.expect("error sending status");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue