fix return values on non-thrown errors
1.0.1