From 858a6e32685c35fcef1eab960ccd7aea46824a0e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 9 Jul 2020 09:47:53 +0200 Subject: ci: Add exception class to problem matcher group Otherwise, with a "KeyError: 1" we will only get "1" as message. --- scripts/dev/ci/problemmatchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/ci/problemmatchers.py b/scripts/dev/ci/problemmatchers.py index 27414a45f..32da86ebd 100644 --- a/scripts/dev/ci/problemmatchers.py +++ b/scripts/dev/ci/problemmatchers.py @@ -155,7 +155,7 @@ MATCHERS = { "severity": "error", "pattern": [ { - "regexp": r'^\033\[1m\033\[31mE [a-zA-Z0-9.]+: ([^\033]*)\033\[0m$', + "regexp": r'^\033\[1m\033\[31mE ([a-zA-Z0-9.]+: [^\033]*)\033\[0m$', "message": 1, }, ], -- cgit v1.2.3-54-g00ecf