Add error output to raise

@bfulton 

Add error output.