Fixing deleteFileSetRoutine and improved logs
This commit is contained in:
parent
a8b14a911b
commit
2593fbf195
|
@ -1276,8 +1276,9 @@ public class ProfiledMongoManager extends MongoManager implements MongoManagerI<
|
||||||
fs = Serialization.convert(toFileSet, RegisteredFileSet.class);
|
fs = Serialization.convert(toFileSet, RegisteredFileSet.class);
|
||||||
log.info("Going to delete {}", fs);
|
log.info("Going to delete {}", fs);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("Error on getting the RegisteredFileSet for path {}", path);
|
log.warn("Error on getting the RegisteredFileSet for path {}. Returning the input doc {}", path, doc.getId());
|
||||||
log.debug("Error is: ", e);
|
log.debug("Error is: ", e);
|
||||||
|
return doc;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Updated by Francesco. See #24902
|
// Updated by Francesco. See #24902
|
||||||
|
|
Loading…
Reference in New Issue