Don't redirect to dashboard when there was an error in the backend