Project

General

Profile

« Previous | Next » 

Revision 1100

Added by Jing Tao about 22 years ago

Change code to handle the error message.

View differences:

src/edu/ucsb/nceas/metacat/ReplicationHandler.java
264 264
            String newxmldoc = MetacatReplication.getURLContent(u);
265 265
            if ( newxmldoc.indexOf("error")!= -1)
266 266
            {
267
              return;
267
              continue;
268 268
            }
269 269
            MetaCatUtil.debugMessage("xml documnet:", 50);
270 270
            MetaCatUtil.debugMessage(newxmldoc, 50);
......
355 355
              }
356 356
              else
357 357
              {
358
                return;
358
                continue;
359 359
              }
360 360
              /*System.out.println("wrote doc " + docid + " from " + 
361 361
                                 docServer);*/

Also available in: Unified diff