Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Aug 10, 2024
1 parent fa58437 commit 52f7f1b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ public URL getResource(String path) throws MalformedURLException {
} catch (URISyntaxException e) {
LOGGER.info("path:" + pathUrl + " ,URISyntaxException:" + e.getMessage());
}
LOGGER.info("path" + ((url == null) ? "(404):" : ":") + pathUrl + " ,url:" + deploymentInfo.getContextUrl());
if (url == null) {
LOGGER.warn(path + " resource not exists");
}
return url;
}

Expand Down

0 comments on commit 52f7f1b

Please sign in to comment.