mirror of
https://github.com/etesync/android
synced 2025-02-22 12:32:03 +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
|
||||
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()
|
||||
event?.write(os)
|
||||
|
Loading…
Reference in New Issue
Block a user