cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Excluding errors in node.js

josean
Participant

Hi all.

Can I exclude an exception from a node.js request as an error?

 

The information I have is:

request name:

/api/data/v1/staging/fact/periodical

file that throws the error:

/stmonit/share/micajero360/back-end/node_modules/express/lib/express.js

and the error message:

"(Staging) You are duplicating ENTRY. Error"

 

josean_0-1639654253891.png

 

Can somebody help me?

 

thank you in advance

BR

Jose A

 

6 REPLIES 6

rastislav_danis
DynaMight Pro
DynaMight Pro

Try go to specific nodejs service, edit, then go to error detection, turn on override global error detection settings. then enter your error string into new exception added in "Ignore exceptions" part.

Alanata a.s.

Thanks for your answer @rastislav_danis 

I don't know which is the pattern class for this field. 

Sorry for ignorance

Ok, now i see your issue. Have you tried to enter any string (or your string) into class input box and then your string into 2nd input box ?

Alanata a.s.

Something like this?:

 

josean_0-1639659579730.png

 

give it a try

Alanata a.s.

Thank you very much, @rastislav_danis !!

 

seems to work....

Featured Posts