Fixed GitHub releases.

This commit is contained in:
Antoine POPINEAU 2019-10-30 15:09:15 +01:00
parent a4fd317e5c
commit 07d00ee69c
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
2 changed files with 3 additions and 2 deletions

View File

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

View File

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