Commit Diff


commit - 0378d09b7a1766aa944af6677dd84cf9a7a95df8
commit + 828d68105770c54c5b80da5adca20224547f14de
blob - 240db0652a900c587966e49b2e944672d2eaba64
blob + 5263b61c00e05d1751045a3d5593ae77a45ceaf1
--- 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);