From: Miloš Mulač Date: Mon, 3 Mar 2008 14:16:47 +0000 (+0000) Subject: print error X-Git-Tag: merge_transactions_src~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=71b997b9d1dfbb5b8e60edd46c3496d652164b9c;p=jra1mw.git print error --- 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;