You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2018/08/01 19:29:16 UTC

[accumulo] branch 1.9 updated: Improve info given in visibility exceptions (#578)

This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new 7fd1f78  Improve info given in visibility exceptions (#578)
7fd1f78 is described below

commit 7fd1f7823cd1a4f19da1c01be352528ccd3db95e
Author: Mike Miller <mm...@apache.org>
AuthorDate: Wed Aug 1 15:29:14 2018 -0400

    Improve info given in visibility exceptions (#578)
---
 .../org/apache/accumulo/core/iterators/system/VisibilityFilter.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/iterators/system/VisibilityFilter.java b/core/src/main/java/org/apache/accumulo/core/iterators/system/VisibilityFilter.java
index 40b5e34..da4cad4 100644
--- a/core/src/main/java/org/apache/accumulo/core/iterators/system/VisibilityFilter.java
+++ b/core/src/main/java/org/apache/accumulo/core/iterators/system/VisibilityFilter.java
@@ -73,10 +73,10 @@ public class VisibilityFilter extends Filter {
       cache.put(testVis, bb);
       return bb;
     } catch (VisibilityParseException e) {
-      log.error("Parse Error", e);
+      log.error("VisibilityParseException with visibility of Key {}: {}", k, e.getMessage());
       return false;
     } catch (BadArgumentException e) {
-      log.error("Parse Error", e);
+      log.error("BadArgumentException with visibility of Key {}: {}", k, e.getMessage());
       return false;
     }
   }