diff options
author | default <nobody@localhost> | 2022-12-18 17:51:23 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-18 17:51:23 +0100 |
commit | bc7a6c2708e752663c821e129d5881087680c161 (patch) | |
tree | f7914df2ec60bfafebfd488d8d946880d19a2382 | |
parent | 4cecff5432828bc65b13cb86499924f13bde8776 (diff) |
Log write errors in _object_add() more prominently.
-rw-r--r-- | data.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -538,8 +538,10 @@ int _object_add(const char *id, d_char *obj, int ow) } } } - else + else { + srv_log(xs_fmt("object_add error writing %s (errno: %d)", fn, errno)); status = 500; + } srv_debug(1, xs_fmt("object_add %s %s %d", id, fn, status)); |