Fix error raised when handler doesn't exist
#35042

eileencodes wants to merge eileencodes:fix-error-message-for-missing-handler into rails:master

We do not currently have an analysis of these two commits