print exceptions in views