• Andy Wilkinson's avatar
    Improve error message when a non-directory is added to FileSystemWatcher · 1f4dc777
    Andy Wilkinson authored
    Previously, if a file or non-existent directory was added to
    FileSystemWatcher, it would fail with the message “Folder must not be a
    file”. While it suggests that the folder needs to be a directory, it
    doesn’t make it clear that it also needs to exist. It also doesn’t
    tell the user which folder caused the problem.
    
    This commit updates the message to make it clear that the folder must
    exist and must be a directory, and the include the name of the
    problematic folder in the error message.
    
    Closes gh-3918
    1f4dc777
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...