Catch¶
The Catch node stores exceptions thrown by nodes and outputs the exception messages for processing by subsequent nodes.
Limitations¶
- Each flow can only have 1 Catch node.
- Since the maximum storage for each node msg is 8KB, only the first 8KB will be saved. The display of the msg may be incomplete if the exception that caught by Catch node exceeds 8KB. It is recommended to solve the storage problem if required.
Samples¶
Input Sample¶
{
"MetaData": {
"CamelRedelivered": "false",
"CamelRedeliveryCounter": "0"
},
"Body": {
"assetId": "abc",
"timestamp": 24214324324,
"measurepoints":{
"temperature": 22.4,
"humidity": 78
}
}
}
Output Sample¶
{
"MetaData": {
"CamelRedelivered": "false",
"CamelRedeliveryCounter": "0",
"ExceptionMessage": "File path is null"
},
"Body": {
"assetId": "abc",
"timestamp": 24214324324,
"measurepoints":{
"temperature": 22.4,
"humidity": 78
}
}
}