From a9ba29381fa0e01debba3bca4fa900f5784efa22 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 15 Nov 2005 18:43:17 +0000
Subject: [PATCH] Add more event logging, no real changes to logic.

---
 src/slurmd/slurmstepd/req.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/slurmd/slurmstepd/req.c b/src/slurmd/slurmstepd/req.c
index d30719e70bf..c6940639900 100644
--- a/src/slurmd/slurmstepd/req.c
+++ b/src/slurmd/slurmstepd/req.c
@@ -354,7 +354,8 @@ _handle_signal_process_group(int fd, slurmd_job_t *job)
 
 	debug3("  buf_len = %d", buf_len);
 	if ((auth_cred = g_slurm_auth_unpack(buf)) == NULL) {
-		error("unpack of the auth_cred unsuccessful")
+		error("g_slurm_auth_unpack: %s", 
+			g_slurm_auth_errstr(g_slurm_auth_errno(NULL)));
 		rc = EPERM;
 		goto done;
 	}
@@ -508,7 +509,8 @@ _handle_signal_container(int fd, slurmd_job_t *job)
 
 	debug3("  buf_len = %d", buf_len);
 	if ((auth_cred = g_slurm_auth_unpack(buf)) == NULL) {
-		error("unpack of the auth_cred unsuccessful");
+		error("g_slurm_auth_unpack: %s", 
+			g_slurm_auth_errstr(g_slurm_auth_errno(NULL)));
 		rc = -1;
 		errno = EPERM;
 		goto done;
-- 
GitLab