When something goes wrong with the app, be it upscaling or generating something, it discounts credits although there was no expected outcome. It should reverse the discount credit(s) to its previous state