Skip to content

Commit

Permalink
Merge pull request #185 from liquidz/dev
Browse files Browse the repository at this point in the history
fix: Add exception handling for antq.changelog
  • Loading branch information
liquidz authored Sep 19, 2022
2 parents 5bdbd2d + 4302a4b commit 464e895
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of http://keepachangelog.com/[keepachangelog.com].

== Unreleased (dev)
// {{{
=== Changed
* Bumped kaocha to 1.70.1086.

=== Fixed
* https://github.com/liquidz/antq/issues/184[#184]: Fixed not to throw exception for checking changelogs.
// }}}

== 2.1.920 (2022-09-18)
// {{{
Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
:dev
{:extra-paths ["test"
"test/resources"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.69.1069"}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.70.1086"}
lambdaisland/deep-diff2 {:mvn/version "2.4.138"}}
:jvm-opts ["-Dclojure.core.async.go-checking=true"]}

Expand Down
8 changes: 6 additions & 2 deletions src/antq/changelog.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@

(defn- silent-procure
[url lib rev]
(binding [*err* (java.io.StringWriter.)]
(gitlibs/procure url lib rev)))
(try
(binding [*err* (java.io.StringWriter.)]
(gitlibs/procure url lib rev))
(catch Exception _
;; Ignore exception for fallback to diff url
nil)))

(defn- get-root-file-names
[url lib rev]
Expand Down

0 comments on commit 464e895

Please sign in to comment.