8000 Add an exception message · DataXujing/twilio-python@ed160fd · GitHub
[go: up one dir, main page]

Skip to content

Commit ed160fd

Browse files
committed
Add an exception message
1 parent 664c1fb commit ed160fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twilio/twiml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def append(self, verb):
6161
:return:
6262
"""
6363
if not isinstance(verb, TwiML):
64-
raise TwiMLException()
64+
raise TwiMLException('Only appending of TwiML is allowed')
6565

6666
self.verbs.append(verb)
6767
return self

0 commit comments

Comments
 (0)
0