mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
add debugging information
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9008 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
# DO NOT MODIFY THIS CODE - AUTOMATICALLY GENERATED BY SMC
|
||||
# DO NOT EDIT.
|
||||
# generated by smc (http://smc.sourceforge.net/)
|
||||
# from file : bgapirequest.sm
|
||||
|
||||
import statemap
|
||||
|
||||
|
||||
class BgApiRequestState(statemap.State):
|
||||
|
||||
def Entry(self, fsm):
|
||||
@@ -28,7 +30,7 @@ class BgApiRequestState(statemap.State):
|
||||
fsm.getDebugStream().write('TRANSITION : Default\n')
|
||||
msg = "\n\tState: %s\n\tTransition: %s" % (
|
||||
fsm.getState().getName(), fsm.getTransition())
|
||||
raise TransitionUndefinedException, msg
|
||||
raise statemap.TransitionUndefinedException, msg
|
||||
|
||||
class MainMap_Default(BgApiRequestState):
|
||||
|
||||
@@ -41,7 +43,7 @@ class MainMap_Default(BgApiRequestState):
|
||||
fsm.clearState()
|
||||
try:
|
||||
ctxt.setRequestFinished()
|
||||
ctxt.errbackDeferred("Protocol failure")
|
||||
ctxt.errbackDeferred("Protocol failure - was not expecting blank line")
|
||||
finally:
|
||||
fsm.setState(endState)
|
||||
|
||||
@@ -54,7 +56,7 @@ class MainMap_Default(BgApiRequestState):
|
||||
fsm.clearState()
|
||||
try:
|
||||
ctxt.setRequestFinished()
|
||||
ctxt.errbackDeferred("Protocol failure")
|
||||
ctxt.errbackDeferred("Protocol failure - was not expecting command reply")
|
||||
finally:
|
||||
fsm.setState(endState)
|
||||
|
||||
@@ -67,7 +69,7 @@ class MainMap_Default(BgApiRequestState):
|
||||
fsm.clearState()
|
||||
try:
|
||||
ctxt.setRequestFinished()
|
||||
ctxt.errbackDeferred("Protocol failure")
|
||||
ctxt.errbackDeferred("Protocol failure - was not expecting reply text")
|
||||
finally:
|
||||
fsm.setState(endState)
|
||||
|
||||
@@ -80,7 +82,7 @@ class MainMap_Default(BgApiRequestState):
|
||||
fsm.clearState()
|
||||
try:
|
||||
ctxt.setRequestFinished()
|
||||
ctxt.errbackDeferred("Protocol failure")
|
||||
ctxt.errbackDeferred("Protocol failure - was not expecting line needing to be processed")
|
||||
finally:
|
||||
fsm.setState(endState)
|
||||
|
||||
|
Reference in New Issue
Block a user