Commit Diff
--- gotd/gotd.c +++ gotd/gotd.c @@ -1505,7 +1505,8 @@ gotd_dispatch_auth_child(int fd, short event, void *ar disconnect(client); imsg_free(&imsg); return; - } + } else if (err) + log_warn("uid %d: %s", client->euid, err->msg); if (imsg.hdr.type != GOTD_IMSG_ACCESS_GRANTED) { imsg_free(&imsg);