Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove locale-dependent string checking
We were checking if an exception was caused by a specific reason "Not a directory". Alas, this reason is locale-dependent and can fail on systems that are not set to en_US.UTF-8. This commit addresses this by deriving what the locale-dependent error message would be and using that for comparison with the actual exception thrown. Relates #41689
- Loading branch information