Emit an event object from atom.onDidThrowError
Upgrade metrics to use the new onDidThrowError arg