sys1yagi / mastodon4j

mastodon client for java, kotlin https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md
MIT License
135 stars 28 forks source link

care IllegalArgumentException #54

Closed takke closed 7 years ago

takke commented 7 years ago

care IllegalArgumentException (e.g. invalid url like "https://mstdn..jp/api/v1/apps")

またまたJavaレイヤーの話で恐縮ですが、不正なURLで apps.createApp すると RuntimeException で落ちるのを防ぎたいです。

codecov-io commented 7 years ago

Codecov Report

Merging #54 into master will decrease coverage by 0.18%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #54      +/-   ##
============================================
- Coverage     58.13%   57.95%   -0.19%     
  Complexity      147      147              
============================================
  Files            43       43              
  Lines           633      635       +2     
  Branches         60       60              
============================================
  Hits            368      368              
- Misses          251      253       +2     
  Partials         14       14
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/sys1yagi/mastodon4j/MastodonClient.kt 0% <0%> (ø) 0 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a02d8a3...61504d2. Read the comment docs.

sys1yagi commented 7 years ago

thanks. I will merge & release tonight 🙏