Allow 500 response on errors when creating templates
Merge branch 'template-exception'