From de4cf38dcceb5010d4dc9dbfd0550b1d02adab9f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 8 Jul 2015 14:41:07 -0700 Subject: [PATCH] Handle ENXIO open errors --- src/workspace.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index 564152df6..c6f9a9066 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' + when 'EPERM', 'EBUSY', 'ENXIO' atom.notifications.addWarning("Unable to open '#{error.path}'", detail: error.message) return Q() else