added information to error message
render default exception template
fixed template attributes