Catching NameError to check action is missing is a wrong way.

If method is missing in the action then we say Action not found.