annotation_service/commit
FIXED: broken logic in debug clause of rdf_get_annotation_target(+,+)
author | Jacco van Ossenbruggen |
---|---|
Sat Sep 20 08:43:12 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Sat Sep 20 08:43:12 2014 +0200 | |
commit | 1f000d7f470a297b300498ebebaed54db78bcbf4 |
tree | 95a4ac4bb7c168c3bedc5180d724bd839d834009 |
parent | 06bcf3db2372c94baaf6b68311e27b4014962a36 |
Diff style: patch stat
diff --git a/lib/oa_annotation.pl b/lib/oa_annotation.pl index 5e3ddd1..cef869d 100644 --- a/lib/oa_annotation.pl +++ b/lib/oa_annotation.pl @@ -253,7 +253,8 @@ rdf_get_annotation_target(Annotation, TargetUri) :- rdf_get_annotation_target(Annotation, _) :- ground(Annotation), - debug(annotation,'Failed to get target for annotation ~p', [Annotation]). + debug(annotation,'Failed to get target for annotation ~p', [Annotation]), + fail. rdf_get_annotation_target(Annotation, TargetUri) :- ground(TargetUri),