Catching bonusly api exception