mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Log write errors in _object_add() more prominently.
This commit is contained in:
parent
4cecff5432
commit
bc7a6c2708
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;
|
status = 500;
|
||||||
|
}
|
||||||
|
|
||||||
srv_debug(1, xs_fmt("object_add %s %s %d", id, fn, status));
|
srv_debug(1, xs_fmt("object_add %s %s %d", id, fn, status));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user