forked from Mirror/pmbootstrap
kconfig check: use NonBugError (MR 2384)
Don't print a trace if kconfig check fails.
This commit is contained in:
parent
f1afdeaaa1
commit
5e9c1601f2
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue