From 489eb78cbb2f74db7cd03a921c7e6c9d2e8ac5a5 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Mon, 14 Mar 2016 20:25:30 +0100 Subject: [PATCH] Possible fix to silently skipping EIO and the like? #748 --- borg/_chunker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/borg/_chunker.c b/borg/_chunker.c index 70d611650..87ec31576 100644 --- a/borg/_chunker.c +++ b/borg/_chunker.c @@ -152,6 +152,7 @@ chunker_fill(Chunker *c) } else { // some error happened + PyErr_SetFromErrno(PyExc_OSError); return 0; } length = c->bytes_read - offset;