I am typesetting a piece and running into issue 6171 ( https://gitlab.com/lilypond/lilypond/-/issues/6171) which emits a spurious programming error. I have a lot of those and they tend to hide real errors, so I want to suppress them. I thought of using ly:expect-warning, except the message isn't a warning; it's an error, so the function doesn't catch it.
Any ideas on how to suppress these error messages without suppressing all messages? -- Knute Snortum