[BUGFIX Beta] Reverts back changes to `onerrorDefault`

Fixes #9644

@stefanpenner I'm just gonna leave it here, up to you to +1/-1.