log pcrud personality json_query attempts loudly to ease transition
authorBill Erickson <berick@esilibrary.com>
Fri, 1 Aug 2014 18:19:36 +0000 (14:19 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 1 Aug 2014 18:19:36 +0000 (14:19 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm

index 59175c8..11ed74a 100644 (file)
@@ -938,6 +938,9 @@ sub json_query {
     my( $self, $arg, $options ) = @_;
 
     if( $self->personality eq 'open-ils.pcrud' ) {
+        $logger->error("json_query is not allowed when using the ".
+            "open-ils.pcrud personality of CStoreEditor: " .Dumper($arg));
+
         $self->event(
             OpenILS::Event->new(
                 'JSON_QUERY_NOT_ALLOWED',