move rescue to `ApplicationController`