parent
436945dabe
commit
3dc0cb1963
|
@ -37,6 +37,7 @@ macro_rules! exit_on_error {
|
||||||
$(if let Err(e) = $result {
|
$(if let Err(e) = $result {
|
||||||
debug!("failure: {}", e.to_string());
|
debug!("failure: {}", e.to_string());
|
||||||
$work_context.set_status.send(($thread_id, e.to_string())).unwrap();
|
$work_context.set_status.send(($thread_id, e.to_string())).unwrap();
|
||||||
|
$work_context.finished.send($thread_id).unwrap();
|
||||||
$sender.send(RefreshEvent {
|
$sender.send(RefreshEvent {
|
||||||
hash: $folder_hash,
|
hash: $folder_hash,
|
||||||
kind: RefreshEventKind::Failure(e.clone()),
|
kind: RefreshEventKind::Failure(e.clone()),
|
||||||
|
|
Loading…
Reference in New Issue