mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Improves logs when the UserMetadata cannot be parsed
This commit is contained in:
parent
f646866192
commit
d4da58e14a
@ -152,7 +152,7 @@ class AppDefinitionEvent(
|
||||
newMetadata
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
Log.w("MT", "Content Parse Error ${e.localizedMessage} $content")
|
||||
Log.w("AppDefinitionEvent", "Content Parse Error: ${toNostrUri()} ${e.localizedMessage}")
|
||||
null
|
||||
}
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ class MetadataEvent(
|
||||
mapper.readValue(content, UserMetadata::class.java)
|
||||
} catch (e: Exception) {
|
||||
// e.printStackTrace()
|
||||
Log.w("MT", "Content Parse Error: ${e.localizedMessage} $content")
|
||||
Log.w("MetadataEvent", "Content Parse Error: ${toNostrUri()} ${e.localizedMessage}")
|
||||
null
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user