summaryrefslogtreecommitdiffstats
path: root/cobbler/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/sync.py')
-rw-r--r--cobbler/sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/sync.py b/cobbler/sync.py
index 80b0c67..3494382 100644
--- a/cobbler/sync.py
+++ b/cobbler/sync.py
@@ -101,6 +101,7 @@ class BootSync:
initrd = self.api.utils.find_initrd(d.initrd) # full path
if kernel is None or not os.path.isfile(kernel):
self.api.last_error = "Kernel for distro (%s) cannot be found and needs to be fixed: %s" % (d.name, d.kernel)
+ print self.api.last_error
raise "error"
if initrd is None or not os.path.isfile(initrd):
self.api.last_error = "Initrd for distro (%s) cannot be found and needs to be fixed: %s" % (d.name, d.initrd)