From 6ad13b0e352935a7a8ace47079a46f74b4771d18 Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 6 Sep 2023 06:46:52 -0700 Subject: [PATCH] extra logging --- src/clj/auto_ap/graphql/transactions.clj | 1 + src/clj/auto_ap/handler.clj | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/clj/auto_ap/graphql/transactions.clj b/src/clj/auto_ap/graphql/transactions.clj index 9992da70..5e5b7363 100644 --- a/src/clj/auto_ap/graphql/transactions.clj +++ b/src/clj/auto_ap/graphql/transactions.clj @@ -590,6 +590,7 @@ :bulk_code_transactions {:type :message :args {:filters {:type :transaction_filters} :vendor {:type :id} + :client_id {:type :id} :approval_status {:type :transaction_approval_status} :accounts {:type '(list :edit_percentage_account)} :ids {:type '(list :id)}} diff --git a/src/clj/auto_ap/handler.clj b/src/clj/auto_ap/handler.clj index 48ad0f49..0498cf81 100644 --- a/src/clj/auto_ap/handler.clj +++ b/src/clj/auto_ap/handler.clj @@ -224,7 +224,9 @@ [client-id]) x-clients) (catch Exception e - (alog/warn ::cant-access :error e) + (alog/warn ::cant-access :error e + :identity identity + :x-clients (pr-str x-clients)) :all)) new-request (if x-clients (assoc-in request [:session :client-selection] x-clients)