diff --git a/source/app.d b/source/app.d index e5d7c47..b159601 100644 --- a/source/app.d +++ b/source/app.d @@ -229,11 +229,11 @@ if( settings.copyFiles.length ){ logInfo("Copying files..."); foreach( f; settings.copyFiles ){ - logInfo("Blah", f); auto src = Path(f); auto dst = (run_exe_file.empty ? dub.binaryPath : run_exe_file.parentPath) ~ Path(f).head; logDebug(" %s to %s", src.toNativeString(), dst.toNativeString()); - copyFile(src, dst, true); + try copyFile(src, dst, true); + catch logWarn("Failed to copy to %s", dst.toNativeString()); } }