How Can I Catch Error "serial port /dev/rfcomm0 closed unexpectedly"

Hi Colin,
thanks for your comment.
Here are only the selected nodes (I think) ....
I though being able to connect the bluetooth to the tty needed to be included...
Still : The question remains....
"How do you catch such an error in a flow so you can re-act on them ?"

    {
        "id": "dd0b96ba.ca1d08",
        "type": "serial in",
        "z": "41acd98a.5798c8",
        "name": "Thermo",
        "serial": "6710935.2e06d6c",
        "x": 160,
        "y": 120,
        "wires": [
            [
                "c4dde817.7769a8"
            ]
        ]
    },
    {
        "id": "c4dde817.7769a8",
        "type": "function",
        "z": "41acd98a.5798c8",
        "name": "Temperature",
        "func": "message1 = {};\nmessage2 = {};\nmessage3 = msg.payload.port\n\n\nmsg.string = msg.payload.split(\" \");\n\nmessage1.payload=msg.string[0];\n\nmessage2.payload=msg.string[2];\n\n\n\n return [message1,message2,message3];// celsius, fahreigh, port\n",
        "outputs": 3,
        "noerr": 0,
        "x": 350,
        "y": 220,
        "wires": [
            [
                "492de263.bde9bc"
            ],
            [
                "3b8afbff.0cbbc4"
            ],
            [
                "9d589ba8.2d7c38"
            ]
        ]
    },
    {
        "id": "492de263.bde9bc",
        "type": "ui_gauge",
        "z": "41acd98a.5798c8",
        "name": "",
        "group": "593a5a67.b54d74",
        "order": 2,
        "width": "6",
        "height": "6",
        "gtype": "gage",
        "title": "Température °C",
        "label": "C",
        "format": "{{value | number:1 }} °C",
        "min": "-40",
        "max": "100",
        "colors": [
            "#0000ff",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 560,
        "y": 160,
        "wires": []
    },
    {
        "id": "9d589ba8.2d7c38",
        "type": "debug",
        "z": "41acd98a.5798c8",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "x": 550,
        "y": 280,
        "wires": []
    },
    {
        "id": "3b8afbff.0cbbc4",
        "type": "ui_gauge",
        "z": "41acd98a.5798c8",
        "name": "",
        "group": "593a5a67.b54d74",
        "order": 3,
        "width": "6",
        "height": "6",
        "gtype": "gage",
        "title": "Température °F",
        "label": "F",
        "format": "{{value | number:1 }} °F",
        "min": "-40",
        "max": "212",
        "colors": [
            "#0000ff",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 560,
        "y": 220,
        "wires": []
    },
    {
        "id": "88f3bc64.99aa4",
        "type": "debug",
        "z": "41acd98a.5798c8",
        "name": "catch thermo",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 370,
        "y": 320,
        "wires": []
    },
    {
        "id": "5bfe43ac.0ed09c",
        "type": "catch",
        "z": "41acd98a.5798c8",
        "name": "",
        "scope": [
            "dd0b96ba.ca1d08"
        ],
        "x": 150,
        "y": 320,
        "wires": [
            [
                "88f3bc64.99aa4"
            ]
        ],
        "outputLabels": [
            "this.error"
        ]
    },
    {
        "id": "32016656.df368a",
        "type": "status",
        "z": "41acd98a.5798c8",
        "name": "",
        "scope": [
            "dd0b96ba.ca1d08"
        ],
        "x": 180,
        "y": 580,
        "wires": [
            [
                "7ebcf248.fa907c",
                "6baa66f0.277508"
            ]
        ]
    },
    {
        "id": "6baa66f0.277508",
        "type": "function",
        "z": "41acd98a.5798c8",
        "name": "status",
        "func": "msg1={};\nmsg2={};\nmsg2.payload = msg.status.text;\nif (msg.status.text== \"node-red:common.status.not-connected\"){\nmsg1.payload = \"Débranché\";\n\n}\nif (msg.status.text== \"node-red:common.status.connected\"){\nmsg1.payload = \"Branché\";    \n}\n\n return [msg1,msg2];\n",
        "outputs": 2,
        "noerr": 0,
        "x": 370,
        "y": 580,
        "wires": [
            [
                "1b22b754.7158c9",
                "691bb477.f27a0c"
            ],
            [
                "93318ebd.7ae1d"
            ]
        ]
    },
    {
        "id": "7ebcf248.fa907c",
        "type": "debug",
        "z": "41acd98a.5798c8",
        "name": "raw sta",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 380,
        "y": 520,
        "wires": []
    },
    {
        "id": "691bb477.f27a0c",
        "type": "debug",
        "z": "41acd98a.5798c8",
        "name": "statusThermo",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 560,
        "y": 580,
        "wires": []
    },
    {
        "id": "1b22b754.7158c9",
        "type": "ui_text",
        "z": "41acd98a.5798c8",
        "group": "593a5a67.b54d74",
        "order": 1,
        "width": "1",
        "height": "1",
        "name": "Status Thermomètre",
        "label": "",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "x": 580,
        "y": 640,
        "wires": []
    },
    {
        "id": "93318ebd.7ae1d",
        "type": "debug",
        "z": "41acd98a.5798c8",
        "name": "release",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 460,
        "y": 700,
        "wires": []
    },
    {
        "id": "6710935.2e06d6c",
        "type": "serial-port",
        "z": "",
        "serialport": "/dev/rfcomm0",
        "serialbaud": "9600",
        "databits": "8",
        "parity": "none",
        "stopbits": "1",
        "newline": "\\n",
        "bin": "false",
        "out": "char",
        "addchar": false,
        "responsetimeout": ""
    },
    {
        "id": "593a5a67.b54d74",
        "type": "ui_group",
        "z": "",
        "name": "Thermomètre numérique",
        "tab": "2c903b25.29ec24",
        "disp": false,
        "width": "6",
        "collapse": false
    },
    {
        "id": "2c903b25.29ec24",
        "type": "ui_tab",
        "z": "",
        "name": "Thermomètre digital",
        "icon": "fa-thermometer",
        "order": 12,
        "disabled": false,
        "hidden": false
    }
]