added error and line

Hi Ryan, 
I've added an error and an end line,  - see if you can accept one and reject the other. 
Cheers!
Mike