From: Michael Hanke Date: Mon, 26 Apr 2010 18:33:12 +0000 (-0400) Subject: We don't want to continue when UDD doesn't talk. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1008e02cceb981e9c42b94596f7dbc3ddd0cb282;p=neurodebian.git We don't want to continue when UDD doesn't talk. --- diff --git a/neurodebian/dde.py b/neurodebian/dde.py index d3898d0..50eefed 100755 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -414,8 +414,8 @@ def dde_get(url, fail=False): print "NOINFO:", url return False except json.ReadException, e: - print "NOCONTENT:", url, type(e) - return False + raise RuntimeError( + "No content in response -- DDE<->UDD connection probably down") def import_dde(cfg, db):