mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
nullをキャッチするようにした
This commit is contained in:
parent
0da5e8a961
commit
d7f22c8e36
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user