fix(onrejected-or-catch): fix syntax