Commit

13b8a58

Calling json_encode($payload) without JSON_THROW_ON_ERROR silently returns false if a string contains invalid UTF-8 bytes, which can turn an API response into an empty body with zero error logs. Passing JSON_THROW_ON_ERROR makes malformed data fail loudly right at the source.

commit 13b8a58