Join Slack
Powered by
<How to avoid HttpClientResponseException in grail...
# questions
r
rss
07/23/2025, 3:24 AM
How to avoid HttpClientResponseException in grails micronaut declarative client Recovery interceptor
I'm using Micronaut declarative client with Grails. When I make request with status forbidden - it raises HttpClientResponseException. I want to just catch it, but RecoveryInterceptor write to Error log full stack trace. How to avoid it? Just a telegram client @Client("
https://api.telegram.org/bot\${bot_token}
") interface TelegramClient { @Post("/sendMessage") Object sendMessage(Long chat_id, String text, String parse_mode) I have got a message...
Open in Slack
Previous
Next