|
@@ -1450,7 +1450,7 @@ class OCProcess(OpenShiftCLI):
|
|
|
if self._template is None:
|
|
|
results = self._process(self.name, False, self.params, self.data)
|
|
|
if results['returncode'] != 0:
|
|
|
- raise OpenShiftCLIError('Error processing template [%s].' % self.name)
|
|
|
+ raise OpenShiftCLIError('Error processing template [%s]: %s' %(self.name, results))
|
|
|
self._template = results['results']['items']
|
|
|
|
|
|
return self._template
|