Fix typo in the exception message (#3858)

This commit is contained in:
Gleb Popov 2023-01-27 14:26:33 +03:00 committed by GitHub
parent 6c9078d673
commit b668742447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ namespace
#else
if (pthread_setname_np(pthread_self(), threadName.c_str()))
#endif
throw Poco::SystemException("cannot get thread name");
throw Poco::SystemException("cannot set thread name");
}
std::string getThreadName()