Commit a1b3a2c7 authored by Dominik Charousset's avatar Dominik Charousset

fd_util::handle_write_result: more meaningful exception message

parent 1989f8e5
......@@ -102,7 +102,7 @@ void handle_write_result(ssize_t result, bool is_nonblocking_io) {
return; // don't throw, just try again
}
}
throw_io_failure(strerror(errno));
throw_io_failure("cannot write to file descriptor");
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment