Variable to store Error no & Error message
Posted: Mon May 09, 2016 12:49 pm
Hi Plum
Looking at below log "errno: 205 uri" occurred.
Is there any session variable which stores this value of errno: 205? Also any variable which stores the error message i.e.
“Parse error in file https://apipp.blackhawknetwork.com/Volu ... Activation", invalid XML”
If we have variables that store these fields then I can use it in a “if” condition and provide appropriate treatment for this specific case.
Using <catch> for error.badfetch event won't be sufficient in my case since badfetch event can occur in many scenarios and I want to write code specific for errno: 205 invalid XML.
Let us know.
Thu 05 May 2016 06:45:17.245 PM EDT (200035;004;1462488052) [inet] EVENT: Attempting to fetch https://apipp.blackhawknetwork.com/Volu ... Activation
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: Parse error in file "https://apipp.blackhawknetwork.com/Volu ... Activation", invalid XML
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] ERROR: errno: 205 uri https://apipp.blackhawknetwork.com/Volu ... Activation
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: received event: error.badfetch:
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [Error] LOCAL: HTTP - Other Error Code
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: VXI::assign_element(name="errorEmailMessage" expr = "'Other Error Code'")
Thanks & Regards
Vikas Prasad
Ph: 314-810-9225
Looking at below log "errno: 205 uri" occurred.
Is there any session variable which stores this value of errno: 205? Also any variable which stores the error message i.e.
“Parse error in file https://apipp.blackhawknetwork.com/Volu ... Activation", invalid XML”
If we have variables that store these fields then I can use it in a “if” condition and provide appropriate treatment for this specific case.
Using <catch> for error.badfetch event won't be sufficient in my case since badfetch event can occur in many scenarios and I want to write code specific for errno: 205 invalid XML.
Let us know.
Thu 05 May 2016 06:45:17.245 PM EDT (200035;004;1462488052) [inet] EVENT: Attempting to fetch https://apipp.blackhawknetwork.com/Volu ... Activation
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: Parse error in file "https://apipp.blackhawknetwork.com/Volu ... Activation", invalid XML
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] ERROR: errno: 205 uri https://apipp.blackhawknetwork.com/Volu ... Activation
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: received event: error.badfetch:
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [Error] LOCAL: HTTP - Other Error Code
Thu 05 May 2016 06:45:17.901 PM EDT (200035;004;1462488052) [vxi] EVENT: VXI::assign_element(name="errorEmailMessage" expr = "'Other Error Code'")
Thanks & Regards
Vikas Prasad
Ph: 314-810-9225