In a polymer 2.0 app, iron-ajax is generating an exception in its error handler whenever verbose is true:
Uncaught (in promise) TypeError: undefined is not a function
at HTMLElement._logger (legacy-element-mixin.html:896)
at HTMLElement._error (legacy-element-mixin.html:924)
at HTMLElement._handleError (iron-ajax.html:526)
at <anonymous>
Description
In a polymer 2.0 app, iron-ajax is generating an exception in its error handler whenever
verbose
is true:The stack trace takes me to this line: https://github.com/PolymerElements/iron-ajax/blob/master/iron-ajax.html#L526
However, the console shows that the error function exists, so I'm not quite sure what is going wrong
The exception is not generated whenever I remove the
verbose
property