From: Miloš Mulač Date: Fri, 14 Mar 2008 15:09:16 +0000 (+0000) Subject: print out server errors X-Git-Tag: merge_313_4_dst~13 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=10e1d603534d9a31e716d09b1d081bef7dad3820;p=jra1mw.git print out server errors --- diff --git a/org.glite.lb.client/src/notify.c b/org.glite.lb.client/src/notify.c index 64f5f58..bd5b1c5 100644 --- a/org.glite.lb.client/src/notify.c +++ b/org.glite.lb.client/src/notify.c @@ -272,6 +272,10 @@ receive_err: if (stat.state != EDG_WLL_JOB_UNDEF) edg_wll_FreeStatus(&stat); if (nid) edg_wll_NotifIdFree(nid); edg_wll_NotifCloseFd(ctx); + + if (edg_wll_Error(ctx,&errt,&errd)) + fprintf(stderr, "%s: %s (%s)\n", me, errt, errd); + return EX_IOERR; } /* UNIMPL