Enabling a log to help NIP95 relay developers track what the app is doing with their images.
This commit is contained in:
@@ -770,7 +770,7 @@ object LocalCache {
|
|||||||
val stream = FileOutputStream(file)
|
val stream = FileOutputStream(file)
|
||||||
stream.write(event.decode())
|
stream.write(event.decode())
|
||||||
stream.close()
|
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) {
|
} catch (e: IOException) {
|
||||||
Log.e("FileStorageEvent", "FileStorageEvent save to disk error: " + event.id, e)
|
Log.e("FileStorageEvent", "FileStorageEvent save to disk error: " + event.id, e)
|
||||||
|
|||||||
Reference in New Issue
Block a user