Do 

```
fail_with(Exploit::Failure::Unknown, "#{rhost}:#{rport} - Exploit failed.")
```

And delete the print_error