From f20032a22f13e94fbd1b37fc4bdfe61503d856fd Mon Sep 17 00:00:00 2001 From: RickyRister Date: Wed, 11 Dec 2024 21:52:29 -0800 Subject: [PATCH] improve filter string validation error message --- cockatrice/src/game/filters/filter_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/filters/filter_string.cpp b/cockatrice/src/game/filters/filter_string.cpp index 7705ef8b0..4e965ced5 100644 --- a/cockatrice/src/game/filters/filter_string.cpp +++ b/cockatrice/src/game/filters/filter_string.cpp @@ -365,7 +365,7 @@ FilterString::FilterString(const QString &expr) }; if (!search.parse(ba.data(), result)) { - qDebug() << "Filter string error" << _error; + qDebug() << "Filter string error for" << expr << ";" << _error; result = [](CardData) -> bool { return false; }; } }