Revert to previously defined onerror handler