From 64b1974232ff3817cc2aa618a9fafb74e9978965 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Mon, 27 Apr 2026 06:35:00 -0300 Subject: [PATCH] Include filter result in exclusion error message --- gamdl/interface/exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gamdl/interface/exceptions.py b/gamdl/interface/exceptions.py index abb06c8..01d0b2e 100644 --- a/gamdl/interface/exceptions.py +++ b/gamdl/interface/exceptions.py @@ -46,6 +46,8 @@ class GamdlInterfaceArtistMediaTypeError(GamdlInterfaceError): class GamdlInterfaceFlatFilterExcludedError(GamdlInterfaceError): def __init__(self, media_id: str, result: Any): - super().__init__(f"Media excluded by flat filter: {media_id}") + super().__init__( + f"Media excluded by flat filter (media ID: {media_id}): {result}" + ) self.result = result