kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
0adb11fea2
|
@ -334,12 +334,12 @@ def main():
|
||||||
r2d.start()
|
r2d.start()
|
||||||
except docker.errors.BuildError as e:
|
except docker.errors.BuildError as e:
|
||||||
# This is only raised by us
|
# This is only raised by us
|
||||||
if r2d.debug:
|
if r2d.log_level == logging.DEBUG:
|
||||||
r2d.log.exception(e)
|
r2d.log.exception(e)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except docker.errors.ImageLoadError as e:
|
except docker.errors.ImageLoadError as e:
|
||||||
# This is only raised by us
|
# This is only raised by us
|
||||||
if r2d.debug:
|
if r2d.log_level == logging.DEBUG:
|
||||||
r2d.log.exception(e)
|
r2d.log.exception(e)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue