diff --git a/tools/demobench/src/main/kotlin/net/corda/demobench/explorer/Explorer.kt b/tools/demobench/src/main/kotlin/net/corda/demobench/explorer/Explorer.kt index 3312120756..8d4318e47f 100644 --- a/tools/demobench/src/main/kotlin/net/corda/demobench/explorer/Explorer.kt +++ b/tools/demobench/src/main/kotlin/net/corda/demobench/explorer/Explorer.kt @@ -92,6 +92,10 @@ class Explorer internal constructor(private val explorerController: ExplorerCont Files.copy(path, destPath) } catch(e: FileAlreadyExistsException) { // OK, don't care ... + } catch (e: IOException) { + // Windows 10 might not allow this user to create a symlink + log.warn("Failed to create symlink '{}' for '{}': {}", destPath, path, e.message) + Files.copy(path, destPath) } } }