Enabling a log to help NIP95 relay developers track what the app is doing with their images.

This commit is contained in:
Vitor Pamplona
2023-05-16 10:24:05 -04:00
parent f2d87b78b1
commit 1767d4a3a3
@@ -770,7 +770,7 @@ object LocalCache {
val stream = FileOutputStream(file)
stream.write(event.decode())
stream.close()
// Log.i("FileStorageEvent", "Saved to disk as ${File(cachePath, event.id).toUri()}")
Log.i("FileStorageEvent", "NIP95 File received from ${relay?.url} and saved to disk as $file")
}
} catch (e: IOException) {
Log.e("FileStorageEvent", "FileStorageEvent save to disk error: " + event.id, e)