Skip to content

Commit

Permalink
chore(android): distinguish url and artwork empty string error message (
Browse files Browse the repository at this point in the history
  • Loading branch information
AronBe authored Mar 13, 2024
1 parent 34146d9 commit 7628d4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object BundleUtils {
val obj = data[key]
if (obj is String) {
// Remote or Local Uri
if (obj.trim { it <= ' ' }.isEmpty()) throw RuntimeException("The URL cannot be empty")
if (obj.trim { it <= ' ' }.isEmpty()) throw RuntimeException("$key: The URL cannot be empty")
return Uri.parse(obj as String?)
} else if (obj is Bundle) {
// require/import
Expand Down

0 comments on commit 7628d4a

Please sign in to comment.