Project

General

Profile

« Previous | Next » 

Revision 8595

call getDescription on cn.setaccesspolicy service failure

View differences:

src/edu/ucsb/nceas/metacat/dataone/SyncAccessPolicy.java
188 188
							.error("Error syncing CN with access policy of pid: "
189 189
									+ pid.getValue()
190 190
									+ " Service failure: "
191
									+ sf.getMessage());
191
									+ "'" + sf.getDescription() + "'");
192 192
					sf.printStackTrace();
193
					logMetacat.debug("Cause: " + sf.getCause());
193
					logMetacat.debug("Cause: " + "'" + sf.getCause() + "'");
194 194
					// throw sf;
195 195
					continue;
196 196
				} catch (Exception e) {
......
386 386
					.debug("syncTask thread completed. Number of guids synced: "
387 387
							+ syncedIds.size());
388 388
		}
389
        //PropertyService.setProperty("dataone.systemmetadata.generated", Boolean.TRUE.toString());
390

  
389 391
	}
390 392

  
391 393
	/**

Also available in: Unified diff