Skip to content
Snippets Groups Projects
Commit 64be1887 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: catch disk space error in branch

parent 950ecd9d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment