From 955749b32094df2798309cf7763c100d8f89218e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 8 Jul 2015 14:45:57 -0700 Subject: [PATCH] Handle EIO open errors --- src/workspace.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index c6f9a9066..ab3a201fd 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -442,7 +442,7 @@ class Workspace extends Model when 'EACCES' atom.notifications.addWarning("Permission denied '#{error.path}'") return Q() - when 'EPERM', 'EBUSY', 'ENXIO' + when 'EPERM', 'EBUSY', 'ENXIO', 'EIO' atom.notifications.addWarning("Unable to open '#{error.path}'", detail: error.message) return Q() else