diff --git a/src/asciinema/yada.clj b/src/asciinema/yada.clj index afea114..b310196 100644 --- a/src/asciinema/yada.clj +++ b/src/asciinema/yada.clj @@ -16,7 +16,7 @@ (defn logger [ctx] (when-let [error (:error ctx)] - (when (= (-> ctx :response :status) 500) + (when (not= (-> ctx :response :status) 404) (log/error error)))) (defn resource [model]