Skip to content

Commit

Permalink
Merge pull request #436 from zhaoxiaojie0415/master
Browse files Browse the repository at this point in the history
Add errMsg when autoHotswap reload fail
  • Loading branch information
skybber authored Sep 21, 2022
2 parents 4b3baac + 0cb25b1 commit 009cc3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public void hotswap(Map<Class<?>, byte[]> reloadMap) {
}
LOGGER.debug("... reloaded classes {} (autoHotswap)", Arrays.toString(classNames));
} catch (Exception e) {
LOGGER.debug("... Fail to reload classes {} (autoHotswap), msg is {}", Arrays.toString(classNames), e);
throw new IllegalStateException("Unable to redefine classes", e);
}
reloadMap.clear();
Expand Down

0 comments on commit 009cc3b

Please sign in to comment.