Add note on pre-3.0 functionality to embargo check error path

This commit is contained in:
Ilja Sidoroff
2016-09-21 09:38:44 +00:00
parent 7b146bb59f
commit 2ba757104f

View File

@@ -35,6 +35,8 @@ public class EmbargoCheck extends Check {
item_iter = embargoService.findItemsByLiftMetadata(context);
} catch (IllegalArgumentException e) {
error(e, "No embargoed items found");
ret += "Note: This check is for pre-3.0 embargo functionality.\n";
ret += "If you aren't using it, you can ignore this error.\n";
} catch (Exception e) {
error(e);
}