kopia lustrzana https://github.com/jupyterhub/repo2docker
Explicitly specify log message for docker build failures
rodzic
66f025720e
commit
7f72a02108
|
@ -617,7 +617,7 @@ class Repo2Docker(Application):
|
||||||
extra=dict(phase='building'))
|
extra=dict(phase='building'))
|
||||||
elif 'error' in l:
|
elif 'error' in l:
|
||||||
self.log.info(l['error'], extra=dict(phase='failure'))
|
self.log.info(l['error'], extra=dict(phase='failure'))
|
||||||
raise docker.errors.BuildError(l['error'])
|
raise docker.errors.BuildError(l['error'], build_log='')
|
||||||
elif 'status' in l:
|
elif 'status' in l:
|
||||||
self.log.info('Fetching base image...\r',
|
self.log.info('Fetching base image...\r',
|
||||||
extra=dict(phase='building'))
|
extra=dict(phase='building'))
|
||||||
|
|
Ładowanie…
Reference in New Issue