ignore all pydevd errors
Change-Id: I0d6cf53b8ba630c11f672e25195623f058114795
This commit is contained in:
parent
0d32a96f79
commit
16f5dfff14
@ -33,6 +33,7 @@ def setup_app(config):
|
||||
'Attempting connection'
|
||||
)
|
||||
import pydevd
|
||||
from socket import error as socket_error
|
||||
pydevd.settrace(
|
||||
config.pydevd.bindhost,
|
||||
port=config.pydevd.port,
|
||||
@ -40,7 +41,9 @@ def setup_app(config):
|
||||
stderrToServer=True,
|
||||
suspend=False)
|
||||
except Exception as e:
|
||||
print "Debug Connection Error:", e
|
||||
print "Debug Connection Error (Ignoring): %s" % e
|
||||
except BaseException as be:
|
||||
print "Debug Connection Error (Ignoring): %s" % be
|
||||
|
||||
model.init_model()
|
||||
app_conf = dict(config.app)
|
||||
|
Loading…
Reference in New Issue
Block a user