Skip to content

Commit

Permalink
Log parent directory.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Feb 10, 2024
1 parent c3841e8 commit 11fe8e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal fun libraryResourceNames(
fun loadEmbeddedLibrary(loader: ClassLoader, parentDirectory: String, name: String) {
val url = checkNotNull(libraryResourceNames(parentDirectory, name).firstNotNullOfOrNull {
loader.getResource(it)
}) { "Failed to find resource with name: $name" }
}) { "Failed to find resource with name: $name in directory: $parentDirectory" }
@Suppress("NewApi") // Not used by Android.
val file = createTempFile("lib$name", "lib").toFile().apply { deleteOnExit() }
try {
Expand Down

0 comments on commit 11fe8e7

Please sign in to comment.