Global Error Handling Issues
Posted: Wed Jun 22, 2016 3:57 pm
I'm using the following code ...
... and I can't figure out why the default error handler is catching the badfetch and the one I specified directly in the document is being bypassed.
Can anyone help me figure out why?
Code: Select all
<vxml application="root.vxml" version="2.0">
<catch event="error.badfetch">
<log expr="_event" label="error.name"/>
<log expr="_message" label="error.message"/>
<audio src="resources/sorry.mp3">I'm sorry.</audio>
<audio src="resources/technical-difficulties.mp3">It looks like we're experiencing technical difficulties.</audio>
<goto next="operator.transfer.vxml"/>
</catch>
<form>
<var name="test"/>
<block>
<form/>
</block>
</form>
</vxml>
Can anyone help me figure out why?