mirror of https://github.com/borgbackup/borg.git
Possible fix to silently skipping EIO and the like? #748
This commit is contained in:
parent
648761fc03
commit
489eb78cbb
|
@ -152,6 +152,7 @@ chunker_fill(Chunker *c)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// some error happened
|
// some error happened
|
||||||
|
PyErr_SetFromErrno(PyExc_OSError);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
length = c->bytes_read - offset;
|
length = c->bytes_read - offset;
|
||||||
|
|
Loading…
Reference in New Issue