mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 06:18:46 +00:00
fix: 修复lasterror命令显示问题
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
31a2277672
commit
66c7508009
@ -219,10 +219,8 @@ public class MonitorCommand implements CommandExecutor {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final Plugin plugin = PluginKit.getOperatePlugin(lastError.getStackTrace());
|
final Plugin plugin = PluginKit.getOperatePlugin(lastError.getStackTrace());
|
||||||
if (plugin != null) {
|
sender.sendMessage(String.format(last_error, plugin != null ? plugin.getName() : "未知"));
|
||||||
sender.sendMessage(String.format(last_error, plugin.getName()));
|
lastError.printStackTrace();
|
||||||
lastError.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Cmd
|
@Cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user