TeamCity-HipChat-Notifier
TeamCity-HipChat-Notifier copied to clipboard
Show validation error for notification message templates
On TeamCity 9.1.1, changing the notification values does not show any error so it's a bit confusing. It seems that a validation is happening in the backend but nothing is shown to the user.
I'm not sure whether you refer to syntactic or semantic validation. Syntactic validation may be possible. I need to check what the underlying templating library supports. As for semantic validation (i.e. the use of a TeamCity variable), that would be practically impossible, as users of the plugin can define custom environment and other variables.
As a workaround, you can enable debug logging.
Also, copying your template out and resetting the template would get things in a working state. You can then visually inspect the template, or you can use this online validator.