mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Handle null errors to support existing uses in tests
This commit is contained in:
@@ -203,6 +203,7 @@ class Atom extends Model
|
||||
|
||||
# TODO: These should be deprecated for 2.0 once we transition the
|
||||
# exception-reporting package to the new API.
|
||||
error ?= {}
|
||||
error.url = url
|
||||
error.line = line
|
||||
error.column = column
|
||||
|
||||
Reference in New Issue
Block a user