         (jdbc/query db-spec/hurvinek-db
                         ["select id, name from groups where chapter=? order by name" chapter-id])
         (catch Exception e
-            (println e)
+            (log/error e)
             nil)))
 
 (defn read-groups-per-chapter

        (jdbc/query db-spec/hurvinek-db
                        ["select id, name, description from products order by name"])
        (catch Exception e
            (println e)
            nil)))

(defn read-from-product-table

                                     :description description} ["id=?" product-id])
            nil ; return value
            (catch Exception e
                (log/error e)
                e))))

(defn add-new-chapter
