Is there any point in throwing the error when we'll be redirecting anyway?