cosmicpython/code

Out of stock handling

festeh opened this issue · 1 comments

It seems that situation when some goods are out of stock is not handled properly. Yes email will be sent, but allocate would still return "OK" as no exception will be raised. Am I missing something?

hjwp commented

that's intentional. you can make it return an error if you prefer, of course. it all depends on what the (imaginary) requirements might be....

how are you finding the book in general?