Try an error function...

Just adds an error function that redirects