diff --git a/lib/workers/branch/index.js b/lib/workers/branch/index.js
index 0b2828bac6f009a79665d8f069688e9a3c94d78a..cd02911ef0aa78846195bf8f7552a02dbbc64833 100644
--- a/lib/workers/branch/index.js
+++ b/lib/workers/branch/index.js
@@ -330,6 +330,12 @@ async function processBranch(branchConfig, prHourlyLimitReached, packageFiles) {
       logger.debug('Passing lockfile-error up');
       throw err;
     }
+    if (
+      err.message &&
+      err.message.includes('ENOSPC: no space left on device')
+    ) {
+      throw new Error('disk-space');
+    }
     if (err.message.startsWith('disk-space')) {
       logger.debug('Passing disk-space error up');
       throw err;