growthbook / growthbook-sdk-java

The Java SDK for GrowthBook (JVM, Android)
https://docs.growthbook.io/lib/java
MIT License
7 stars 10 forks source link

Feature/add error handler for callback #31

Closed AmirSalakhov94 closed 11 months ago

AmirSalakhov94 commented 12 months ago

Hello. We want to use client-side Growthbook service call metrics. But a handler made for succesfully calls only would like to add an error handler as well. Here's the pull request, it's not claims to be the best solution. Thank you)

Closes #32

AmirSalakhov94 commented 11 months ago

Functionality-wise seems good, but I left some grammar and style requests. See inline. Thanks!

Thank you, I was glad to contribute) I added 2 more tests to check refresh callback.

tinahollygb commented 11 months ago

Awesome, thanks for the contribution! 🚀

AmirSalakhov94 commented 11 months ago

Awesome, thanks for the contribution! 🚀

Glad to take part)