Merge pull request #2277 from coreos-inc/git-fail-message

Always display full message on git checkout error
This commit is contained in:
josephschorr 2017-01-12 20:11:45 -05:00 committed by GitHub
commit d20b20ae2a

View file

@ -16,7 +16,9 @@ class WorkerError(object):
}, },
'io.quay.builder.gitcheckout': { 'io.quay.builder.gitcheckout': {
'message': 'Could not checkout git ref. Have you force pushed recently?', 'message': 'Could not checkout git ref. If you force pushed recently, ' +
'the commit may be missing.',
'show_base_error': True,
}, },
'io.quay.builder.cannotextractbuildpack': { 'io.quay.builder.cannotextractbuildpack': {
@ -80,7 +82,8 @@ class WorkerError(object):
}, },
'io.quay.builder.errorduringphasetransition': { 'io.quay.builder.errorduringphasetransition': {
'message': 'Error during phase transition. If this problem persists please contact customer support.', 'message': 'Error during phase transition. If this problem persists ' +
'please contact customer support.',
'is_internal': True 'is_internal': True
}, },