Handle null errors to support existing uses in tests

This commit is contained in:
Nathan Sobo
2015-06-20 18:07:47 +02:00
parent 64fca5db20
commit a24816f76b

View File

@@ -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