mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
nullをキャッチするようにした
This commit is contained in:
1 file changed
+4
@@ -62,6 +62,10 @@ public class FileManagerImpl implements FileManager {
|
||||
try {
|
||||
resolvedPath = resolvedPath.resolve(pathPart);
|
||||
} catch (Exception e) {
|
||||
logger.error("resolveStringPath", e.getMessage());
|
||||
logger.debug("resolveStringPath", "this.path: " + this.path);
|
||||
logger.debug("resolveStringPath", "pathPart: " + pathPart);
|
||||
logger.debug("resolveStringPath", "resolvedPath: " + resolvedPath);
|
||||
throw new IOException("Invalid path: " + path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user