mirror of
https://github.com/etesync/android
synced 2025-02-22 20:42:04 +00:00
LocalEvent: fix crash when getting content of an event without a filename.
This commit is contained in:
parent
86ea7e878e
commit
21d6459cd9
@ -45,7 +45,7 @@ class LocalEvent : AndroidEvent, LocalResource<Event> {
|
|||||||
|
|
||||||
override val content: String
|
override val content: String
|
||||||
get() {
|
get() {
|
||||||
Logger.log.log(Level.FINE, "Preparing upload of event " + fileName!!, event)
|
Logger.log.log(Level.FINE, "Preparing upload of event $fileName} ${event}")
|
||||||
|
|
||||||
val os = ByteArrayOutputStream()
|
val os = ByteArrayOutputStream()
|
||||||
event?.write(os)
|
event?.write(os)
|
||||||
|
Loading…
Reference in New Issue
Block a user