commit | a57f6dea02cdcf7733786f15bab6665ecfc1033b | [log] [tgz] |
---|---|---|
author | Eric Blake <eblake@redhat.com> | Fri Oct 27 12:40:33 2017 +0200 |
committer | Eric Blake <eblake@redhat.com> | Mon Oct 30 21:48:11 2017 +0100 |
tree | 99358090146341641505bbcf6204eae5fbcfa5aa | |
parent | 5c54e7fa714fdee68ede764610adda806162080f [diff] |
nbd/server: Include human-readable message in structured errors The NBD spec permits including a human-readable error string if structured replies are in force, so we might as well send the client the message that we logged on any error. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20171027104037.8319-9-eblake@redhat.com>