--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/yamlCheckSyntax.py Sun Oct 04 16:39:07 2020 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/yamlCheckSyntax.py Sun Oct 04 18:03:33 2020 +0200 @@ -184,8 +184,10 @@ else: line, column = 0, 0 error = exc.problem + cline = min(len(codestring.splitlines()), int(line)) - 1 code = codestring.splitlines()[cline] + return [{'error': (file, line, column, code, error)}] return [{}]