Messages never shows for exceptions
IgrekYY opened this issue · comments
Igor Safonov commented
Hi!
There is no error message when exception from SmoochApi raises:
ETHON: performed EASY effective_url=https://api.smooch.io/v1.1/whatsapp/deployments/12312312/code/confirm response_code=400 return_code=ok total_time=0.181729
SmoochApi::ApiError:
Always returns empty message. There are may be some extra setup?
ハジク commented
Am getting this error as well, is there update on this?
Alyssa Gangai commented
When displaying the error as a string (eg. puts error
), there was no message to be displayed; this has been fixed in version 5.34.1. Otherwise, to view the data you could also inspect your error object, eg. error.inspect