From e95ce5d1d036fc798b0ad23ea520e9b68e093c92 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 10 Nov 2015 16:30:12 -0800 Subject: [PATCH] Handle EAGAIN errors when saving pane items Closes #8202 --- src/pane.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pane.coffee b/src/pane.coffee index 9886c735e..143733a56 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -722,7 +722,7 @@ class Pane extends Model @notificationManager.addWarning("Unable to save file: #{error.message}") else if error.code is 'EACCES' addWarningWithPath('Unable to save file: Permission denied') - else if error.code in ['EPERM', 'EBUSY', 'UNKNOWN', 'EEXIST', 'ELOOP'] + else if error.code in ['EPERM', 'EBUSY', 'UNKNOWN', 'EEXIST', 'ELOOP', 'EAGAIN'] addWarningWithPath('Unable to save file', detail: error.message) else if error.code is 'EROFS' addWarningWithPath('Unable to save file: Read-only file system')