# Intercept yellow debugging message

**URL:** <https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099>\
**Category:** General\
**Created:** [31 January 2021 12:12 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099 "2021-01-31T12:12:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![weiti](https://avatars.discourse-cdn.com/v4/letter/w/e47774/32.png) [@weiti](https://discourse.nodered.org/u/weiti)\
**Post date:** [31 January 2021 12:12 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/1 "2021-01-31T12:12:36Z")

</div>

Hello,  
how can I grab the hint that is displayed in the in debugging with a node?  
I do not want to pick up all probes only those that come from node: SandraXI.

Greetings  
 ![Unbenannt333](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/715f347439551275eeb71e55649a4b514ba4283c.jpeg)

---

<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:** [31 January 2021 12:36 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/2 "2021-01-31T12:36:13Z")

</div>

See if a Catch node linked to that node picks it up. If the node is well written then it should.

**[Edit]** Or is that just a message you are displaying using a debug node? If it is then you don't need to grab it, it is already in the message you are sending to the debug node, so what is it that you want to do after 'grabbing' it?

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [31 January 2021 12:44 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/3 "2021-01-31T12:44:34Z")

</div>

Thats a message send with node.warn();  
Im not sure the catch node can actually catch those.  
They should appear in the syslog so i guess you could watch there with a tail node but you would have to filter out a lot of other stuff.

---

<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:** [31 January 2021 13:34 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/4 "2021-01-31T13:34:13Z")

</div>

> [@weiti](#):
>
> those that come from node: SandraXI.

What is that node?

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [31 January 2021 19:37 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/5 "2021-01-31T19:37:29Z")

</div>

> [@JGKK](#):
>
> Im not sure the catch node can actually catch those.

Apparently not.

@weiti If SandraXI is the name of a `function` node you have written, I think you have two choices. You could use `node.error` instead of `node.warn` and use a `catch` node as @Colin suggests, or you could put your message in the status text and use a `status` node to catch it.

If SandraXI is a third-party node, you may be out of luck. It might be worth considering whether the `catch` node (or a new, similar one) ought to have the ability to catch warning messages as well as errors.

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [31 January 2021 20:38 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/6 "2021-01-31T20:38:42Z")

</div>

I think its this one

> **[node-red-contrib-miio-roborock](https://flows.nodered.org/node/node-red-contrib-miio-roborock)**
>
> Xiaomi Roborock connectivity nodes for node-red

(i use it too).

---

<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:** [1 April 2021 20:39 UTC](https://discourse.nodered.org/t/intercept-yellow-debugging-message/40099/7 "2021-04-01T20:39:31Z")

</div>

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