]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add errorhandling
authorRobin Wittler <robin.wittler@profitbricks.com>
Thu, 4 Aug 2011 11:53:07 +0000 (13:53 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Thu, 4 Aug 2011 11:53:07 +0000 (13:53 +0200)
testgit_build.py

index 511ad7334f6277c9c01e046e738b5726d7834308..99656ac0c5e16ba2ec9756169060ae85c766032d 100755 (executable)
@@ -107,6 +107,7 @@ def remove_git_target_workspace():
     try:
         shutil.rmtree(GIT_TARGET_WORKSPACE)
     except IOError, error:
+        logger.debug('IOError happend. errno is: %s' %(error.errno))
         if error.errno == errno.ENOENT:
             logger.debug(
                     '"%s" does not exists - and can be ignored'