From 71b997b9d1dfbb5b8e60edd46c3496d652164b9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Mon, 3 Mar 2008 14:16:47 +0000 Subject: [PATCH] print error --- org.glite.lb.server/src/jobstat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.glite.lb.server/src/jobstat.c b/org.glite.lb.server/src/jobstat.c index 482fa35..322f059 100644 --- a/org.glite.lb.server/src/jobstat.c +++ b/org.glite.lb.server/src/jobstat.c @@ -133,6 +133,9 @@ int edg_wll_JobStatusServer( } else { if (edg_wll_intJobStatus(ctx, job, flags,&jobstat, js_enable_store)) { edg_wll_UpdateError(ctx, EDG_WLL_ERROR_SERVER_RESPONSE, "Could not compute job status from events"); + syslog(LOG_ERR, "Could not compute status of job %s events (corrupted DB?)\n",string_jobid); + fprintf(stderr, "[%d] Could not compute status of job %s events (corrupted DB?)\n", getpid(), string_jobid); + goto rollback; } *stat = jobstat.pub; -- 1.8.2.3