From 5e9c1601f20fd1b991e697e1b5656c13c6812d35 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 28 Jul 2024 15:54:08 +0200 Subject: [PATCH] kconfig check: use NonBugError (MR 2384) Don't print a trace if kconfig check fails. --- pmb/commands/kconfig_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pmb/commands/kconfig_check.py b/pmb/commands/kconfig_check.py index f45651ee..5e621c97 100644 --- a/pmb/commands/kconfig_check.py +++ b/pmb/commands/kconfig_check.py @@ -4,6 +4,7 @@ from __future__ import annotations from pmb import commands from pmb.core.context import get_context +from pmb.helpers.exceptions import NonBugError import pmb.parse.kconfig import pmb.helpers.git import pmb.config @@ -58,7 +59,7 @@ class KConfigCheck(commands.Command): # At least one failure if error: - raise RuntimeError("kconfig check failed!") + raise NonBugError("kconfig check failed!") else: if skipped: logging.info(