def checkFormatReturnTraceOnError(file_path):
    'Run checkFormat and return the traceback of any exception.'
    try:
        return checkFormat(file_path)
    except:
        return traceback.format_exc().split('\n')
Run checkFormat and return the traceback of any exception.
def checkFormatReturnTraceOnError(file_path):
    
    try:
        return checkFormat(file_path)
    except:
        return traceback.format_exc().split('\n')