fix --throw to not swallow errors