mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Print exception in error message when an extension fails to load
This commit is contained in:
committed by
Nathan Sobo
parent
ae00e888fd
commit
2cc73b0285
@@ -78,8 +78,7 @@ windowAdditions =
|
||||
require extensionKeymapPath if fs.exists(extensionKeymapPath)
|
||||
extension
|
||||
catch e
|
||||
console.error "Failed to load extension named '#{name}'"
|
||||
console.error e.stack
|
||||
console.error "Failed to load extension named '#{name}'", e
|
||||
|
||||
reload: ->
|
||||
if rootView?.getModifiedBuffers().length > 0
|
||||
|
||||
Reference in New Issue
Block a user