Compare commits
2 Commits
v124010191
...
v124010301
Author | SHA1 | Date | |
---|---|---|---|
db0d5a4a85 | |||
3bc0d7cf95 |
@ -1,3 +1,11 @@
|
|||||||
|
**v124010191**
|
||||||
|
|
||||||
|
- fix: moving listeners.
|
||||||
|
- chore: removed a useless log.
|
||||||
|
- Changelog for v124010032 [CI SKIP]
|
||||||
|
|
||||||
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
**v124010032**
|
**v124010032**
|
||||||
|
|
||||||
- fix: Another date format thing.
|
- fix: Another date format thing.
|
||||||
|
@ -26,7 +26,7 @@ actual class DateUtils {
|
|||||||
throw Exception("Unrecognized format for $dateString")
|
throw Exception("Unrecognized format for $dateString")
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Napier.e(e.stackTraceToString(), tag = "DateUtils.parseDate")
|
Napier.e("parseDate failed", e, tag = "DateUtils.parseDate")
|
||||||
"1991-03-18T03:00:00"
|
"1991-03-18T03:00:00"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -422,7 +422,7 @@ class Repository(
|
|||||||
val response = api.login()
|
val response = api.login()
|
||||||
result = response.isSuccess == true
|
result = response.isSuccess == true
|
||||||
} catch (cause: Throwable) {
|
} catch (cause: Throwable) {
|
||||||
Napier.e(cause.stackTraceToString(), tag = "RepositoryImpl.login")
|
Napier.e("login failed", cause, tag = "RepositoryImpl.login")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
@ -436,7 +436,7 @@ class Repository(
|
|||||||
// a random rss feed, that would throw a NoTransformationFoundException
|
// a random rss feed, that would throw a NoTransformationFoundException
|
||||||
fetchFailed = !api.getItemsWithoutCatch().success
|
fetchFailed = !api.getItemsWithoutCatch().success
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
Napier.e(e.stackTraceToString(), tag = "RepositoryImpl.shouldBeSelfossInstance")
|
Napier.e("checkIfFetchFails failed", e, tag = "RepositoryImpl.shouldBeSelfossInstance")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -451,7 +451,7 @@ class Repository(
|
|||||||
Napier.e("Couldn't logout.", tag = "RepositoryImpl.logout")
|
Napier.e("Couldn't logout.", tag = "RepositoryImpl.logout")
|
||||||
}
|
}
|
||||||
} catch (cause: Throwable) {
|
} catch (cause: Throwable) {
|
||||||
Napier.e(cause.stackTraceToString(), tag = "RepositoryImpl.logout")
|
Napier.e("logout failed", cause, tag = "RepositoryImpl.logout")
|
||||||
}
|
}
|
||||||
appSettingsService.clearAll()
|
appSettingsService.clearAll()
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user