Skip to content

Commit 5096aa2

Browse files
add helpful hint for users who experience errors
1 parent 34c30eb commit 5096aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/ConvertTo-ExcelXlsx.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function ConvertTo-ExcelXlsx {
8383
}
8484
}
8585
catch {
86-
Write-Error ("Failed to convert {0} to XLSX." -f $xlsFile.FullName)
86+
Write-Error ("Failed to convert {0} to XLSX. To avoid network issues or locking issues, you could try the -CacheToTemp parameter." -f $xlsFile.FullName)
8787
throw
8888
}
8989
finally {

0 commit comments

Comments
 (0)