mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
improve error log. close #944
This commit is contained in:
@@ -430,8 +430,10 @@ public class Bootstrap {
|
||||
if (localLastestVersion == null) {
|
||||
if (remoteLastestVersion == null) {
|
||||
// exit
|
||||
AnsiLog.error("Can not find Arthas under local: {} and remote: {}", ARTHAS_LIB_DIR,
|
||||
bootstrap.getRepoMirror());
|
||||
AnsiLog.error("Can not find Arthas under local: {} and remote maven repo mirror: {}", ARTHAS_LIB_DIR,
|
||||
bootstrap.getRepoMirror());
|
||||
AnsiLog.error(
|
||||
"Unable to download arthas from remote server, please download the full package according to wiki: https://github.com/alibaba/arthas");
|
||||
System.exit(1);
|
||||
} else {
|
||||
needDownload = true;
|
||||
|
||||
Reference in New Issue
Block a user