# How to track down Uncaught Exception

**URL:** <https://discourse.nodered.org/t/how-to-track-down-uncaught-exception/26229>\
**Category:** General\
**Created:** [7 May 2020 10:33 UTC](https://discourse.nodered.org/t/how-to-track-down-uncaught-exception/26229 "2020-05-07T10:33:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 May 2020 11:22 UTC](https://discourse.nodered.org/t/how-to-track-down-uncaught-exception/26229/5 "2020-05-07T11:22:38Z")

</div>

There was a previous report of the problem, suggesting that it is to do with the same template multiple times, but @max did not respond to a request for further information.

> [@Problem with multible Templates in group](https://discourse.nodered.org/t/problem-with-multible-templates-in-group/13346):
>
> Hi, i have the following error. i use a Template for a Button. (so i can use other Icons etc.) The template looks like: \<button class="single" ng-click="send(msg)" type="button"\>\<span class="{{msg.icon}} {{msg.state}}"\>\</span\>\</button\> i inject msg.payload etc via an function node. the Problem is: when i use this template multible times in one Group node red restarts. in the log file is see the following errors: 16 Jul 12:31:01 - [red] Uncaught Exception: 16 Jul 12:31:01 - TypeError: C…

---

_[View the full topic](https://discourse.nodered.org/t/how-to-track-down-uncaught-exception/26229)._
