1
0
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:
Tom Hacohen 2020-09-10 16:23:18 +03:00
parent 86ea7e878e
commit 21d6459cd9

View File

@ -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)