From 10e1d603534d9a31e716d09b1d081bef7dad3820 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Fri, 14 Mar 2008 15:09:16 +0000 Subject: [PATCH] print out server errors --- org.glite.lb.client/src/notify.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 1.8.2.3