mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Handle ENXIO open errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user