# General Handling

**URL:** https://discourse.nodered.org/t/general-handling/63214
**Category:** General
**Created:** [29 May 2022 13:58 UTC](https://discourse.nodered.org/t/general-handling/63214 "2022-05-29T13:58:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)
#### Post date: [29 May 2022 13:58 UTC](https://discourse.nodered.org/t/general-handling/63214/1 "2022-05-29T13:58:41Z")

</div>

Hi,  
i've just finished a bigger project using 4 PTZ Cameras. Project works. Just 2 questions about handling.

1. my project had 4 cameras including, but only 1 was available. The other 3 PTZ nodes steadily send error-messages which made atherwise reading messages difficult. Is there a way to suppress messages from these nodes?

2. After finishing the work i deleted the nodes, deleted flows and ui-entries. But after addind new nodes for a different project and deploying them nodered found some more unused entries. And the PTZ nodes, also deleted, still produces error messages. Is there a possibility to make 'Tabula rasa', a clean enviroment ? Or can this be added to a next release?

All the best,  
Alexander

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [29 May 2022 14:01 UTC](https://discourse.nodered.org/t/general-handling/63214/2 "2022-05-29T14:01:16Z")

</div>

> [@alexander77](#):
>
> Is there a way to suppress messages from these nodes?

If they are errors (not warnings) and the node was written correctly, you can suppress these using a catch node pointed at them.

> [@alexander77](#):
>
> Is there a possibility to make 'Tabula rasa', a clean enviroment ?

several ways...

- Use projects mode (a setting in settings.js)
- Delete `flows.json`
- Startup node-red with `-u` parameters (e.g. `node-red -u /my/new/project/`)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [29 May 2022 14:23 UTC](https://discourse.nodered.org/t/general-handling/63214/3 "2022-05-29T14:23:38Z")

</div>

You could also just delete your userDir folder completely, restarting node-red will recreate a blank environment for you.

---

<div class="post-metadata">

### Author: ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)
#### Post date: [29 May 2022 15:38 UTC](https://discourse.nodered.org/t/general-handling/63214/4 "2022-05-29T15:38:08Z")

</div>

Thank you for your replies, i will try that tomorrow.  
@Steve: When reading your reply i'm not shure wether it was an error or a warning - simply the camera was not present.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [29 May 2022 15:56 UTC](https://discourse.nodered.org/t/general-handling/63214/5 "2022-05-29T15:56:48Z")

</div>

> [@alexander77](#):
>
> @Steve: When reading your reply i'm not shure wether it was an error or a warning - simply the camera was not present.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/a/1af8356657ecf93660290b20bbcd157a209058b5.png)

---

<div class="post-metadata">

### Author: ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)
#### Post date: [29 May 2022 16:27 UTC](https://discourse.nodered.org/t/general-handling/63214/6 "2022-05-29T16:27:11Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/9/99ebf42431ddb3c397cf9e866248e807c6e9c1bb.png)  
Well, it's an error, but catch does not help.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [29 May 2022 22:23 UTC](https://discourse.nodered.org/t/general-handling/63214/7 "2022-05-29T22:23:51Z")

</div>

> [@alexander77](#):
>
> Well, it's an error, but catch does not help

In which case, you should contact the author and ask that they catch errors and relay them to node-red using the mechanism `node.error(error, msg)` or introduce an option to either send errors out of a 2nd output or to suppress them.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [28 July 2022 22:23 UTC](https://discourse.nodered.org/t/general-handling/63214/8 "2022-07-28T22:23:52Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
