Print exception in val_throw