Moved TemplateFormatException into an exception packet