Browse Source

Fixed GitHub releases.

housekeeping/remove-warnings
Antoine POPINEAU 5 years ago
parent
commit
07d00ee69c
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
  1. 3
      .travis.yml
  2. 2
      app/src/main/java/com/github/apognu/otter/repositories/HttpUpstream.kt

3
.travis.yml

@ -21,6 +21,9 @@ cache: @@ -21,6 +21,9 @@ cache:
script:
- "./gradlew app:assembleDebug"
before_deploy:
- RELEASE_MESSAGE="$(git tag -ln --format '%(subject)' $TRAVIS_TAG)"
deploy:
provider: releases
name: $TRAVIS_TAG

2
app/src/main/java/com/github/apognu/otter/repositories/HttpUpstream.kt

@ -60,8 +60,6 @@ class HttpUpstream<D : Any, R : FunkwhaleResponse<D>>(val behavior: Behavior, pr @@ -60,8 +60,6 @@ class HttpUpstream<D : Any, R : FunkwhaleResponse<D>>(val behavior: Behavior, pr
}
},
{ error ->
log(error.toString())
when (error.exception) {
is RefreshError -> EventBus.send(Event.LogOut)
else -> channel.offer(Repository.Response(Repository.Origin.Network, listOf(), false))

Loading…
Cancel
Save