mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Log write errors in _object_add() more prominently.
This commit is contained in:
parent
4cecff5432
commit
bc7a6c2708
1 changed files with 3 additions and 1 deletions
4
data.c
4
data.c
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue