dont check for listeners on the error event, this will cause a throw if there isnt one