Skip to content

Commit 59f2791

Browse files
committed
Ignore http callback exception
1 parent 0313961 commit 59f2791

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

dev_server/sae/channel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ def _(environ, start_response):
113113
environ['HTTP_CONTENT_TYPE'] = 'application/x-www-form-urlencoded'
114114
environ['HTTP_CONTENT_LENGTH'] = len(qs)
115115
environ['wsgi.input'] = cStringIO.StringIO(qs)
116-
print '[CHANNEL]', [i for i in app(environ, lambda x, y: None)]
116+
try:
117+
print '[CHANNEL]', [i for i in app(environ, lambda x, y: None)]
118+
except Exception:
119+
pass
117120
return []
118121

119122
return _

dev_server/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os.path
33
from setuptools import setup, find_packages
44

5-
VERSION = '1.3.1'
5+
VERSION = '1.3.2'
66

77
scripts = ['dev_server.py', 'saecloud', 'cloudsql.py']
88

0 commit comments

Comments
 (0)