rescue_from for only production