summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2017-04-05 01:41:25 +0200
committerGitHub <noreply@github.com>2017-04-05 01:41:25 +0200
commit24f1153adfc1a83e490d8d22ee353b322aba1e33 (patch)
treeeec8eda9df25df406a93fb6dab3f142674ed2a53 /src/pal
parent60ed6841161a3b5e5e627041bc0d4a87bb21ce22 (diff)
downloadcoreclr-24f1153adfc1a83e490d8d22ee353b322aba1e33.tar.gz
coreclr-24f1153adfc1a83e490d8d22ee353b322aba1e33.tar.bz2
coreclr-24f1153adfc1a83e490d8d22ee353b322aba1e33.zip
Update module not found error message (#10692)
This message can be misleading, since it says "The specified module could not be found", but it would also report case when the module was found, but one of the module's dependencies were not found. Multiple people in the past were hit by that when their module was not loaded, they were thinking that there is some problem with the path coreclr is loading modules from or something like that and spent non-trivial amount of time trying to figure that out. The fact that the module could have missing dependencies is really not obvious. So I am updating the message to reflect that fact.
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/src/misc/errorstrings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/misc/errorstrings.cpp b/src/pal/src/misc/errorstrings.cpp
index 22443114ee..2c5243945c 100644
--- a/src/pal/src/misc/errorstrings.cpp
+++ b/src/pal/src/misc/errorstrings.cpp
@@ -76,7 +76,7 @@ ErrorString palErrorStrings[] =
{ ERROR_SEM_TIMEOUT, W("The semaphore timeout period has expired.\n") },
{ ERROR_INSUFFICIENT_BUFFER, W("The data area passed to a system call is too small.\n") },
{ ERROR_INVALID_NAME, W("The filename, directory name, or volume label syntax is incorrect.\n") },
- { ERROR_MOD_NOT_FOUND, W("The specified module could not be found.\n") },
+ { ERROR_MOD_NOT_FOUND, W("The specified module or one of its dependencies could not be found.\n") },
{ ERROR_PROC_NOT_FOUND, W("The specified procedure could not be found.\n") },
{ ERROR_WAIT_NO_CHILDREN, W("There are no child processes to wait for.\n") },
{ ERROR_NEGATIVE_SEEK, W("An attempt was made to move the file pointer before the beginning of the file.\n") },