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