Bug 1027950 - [Settings][Find My Device] Do not attach handlers inside onerror callback

See Bugzilla bug for discussion.
I would suggest not to leave the bug ID here as we can always get it from the commit message.