Skip to content

Commit 942e42d

Browse files
committed
Move logging under impl-subpackage.
1 parent 11c9948 commit 942e42d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/compojure/api/exception.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(ns compojure.api.exception
22
(:require [ring.util.http-response :refer [internal-server-error bad-request]]
33
[clojure.walk :refer [postwalk]]
4-
[compojure.api.logging :as log]
4+
[compojure.api.impl.logging :as logging]
55
[schema.utils :as su])
66
(:import [schema.utils ValidationError NamedError]
77
[com.fasterxml.jackson.core JsonParseException]
@@ -17,7 +17,7 @@
1717
Error response only contains class of the Exception so that it won't accidentally
1818
expose secret details."
1919
[^Exception e _ _]
20-
(log/log! :error e (.getMessage e))
20+
(logging/log! :error e (.getMessage e))
2121
(internal-server-error {:type "unknown-exception"
2222
:class (.getName (.getClass e))}))
2323

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(ns ^:no-doc compojure.api.logging
1+
(ns ^:no-doc compojure.api.impl.logging
22
"Internal Compojure-api logging utility"
33
(:require [clojure.string :as str]))
44

0 commit comments

Comments
 (0)