Changed it to log the error and just redirect, telling the user that an error occurred.