james | curl should return non-zero exit status if it fails; adding the necessary flag for this behavior