Revision 7125
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
552 | 552 |
logMetacat.error(msg); |
553 | 553 |
throw new ServiceFailure("2151", msg); |
554 | 554 |
|
555 |
} catch (Exception e) { |
|
556 |
String msg = "Could not save object to local store (Exception): " + e.getMessage(); |
|
557 |
failure = new ServiceFailure("2151", msg); |
|
558 |
setReplicationStatus(thisNodeSession, pid, nodeId, ReplicationStatus.FAILED, failure); |
|
559 |
logMetacat.error(msg); |
|
560 |
throw new ServiceFailure("2151", msg); |
|
561 |
|
|
555 | 562 |
} |
556 | 563 |
|
557 | 564 |
// finish by setting the replication status |
Also available in: Unified diff
catch general Exception that may be thrown during MN.replicate() when creating the object locally. There are a few records that keep slipping off our radar with no explanation as to why they remain in "REQUESTED" status.