Log exception when failure to augment client and re-throw instead of returning the raw client.

Signed-off-by: Patrick Jennings <pajennin@redhat.com>
This commit is contained in:
Patrick Jennings 2024-04-12 11:05:50 -04:00 committed by Marek Posolda
parent 551a3db987
commit 5e0d323304

View File

@ -115,7 +115,7 @@ public class DefaultClientTypeManager implements ClientTypeManager {
} catch(ClientTypeException cte) {
logger.errorf("Could not augment client, %s, due to client type exception: %s",
client, cte);
return client;
throw cte;
}
}
}