Get traceback error from walkDir in logfile