mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 10:52:26 +08:00
pure format
+ console plugin auto disable
This commit is contained in:
parent
823f26b3aa
commit
4903c87034
@ -203,7 +203,7 @@ object PluginManager {
|
||||
}catch (ignored : Throwable){
|
||||
if(ignored is CancellationException) {
|
||||
logger.info(ignored)
|
||||
logger.info(it.pluginName + "Failed to load, disabling it")
|
||||
logger.info(it.pluginName + " failed to load, disabling it")
|
||||
it.disable(ignored)
|
||||
}
|
||||
}
|
||||
@ -214,7 +214,7 @@ object PluginManager {
|
||||
it.enable()
|
||||
}catch (ignored : Throwable){
|
||||
logger.info(ignored)
|
||||
logger.info(it.pluginName + "Failed to enable, disabling it")
|
||||
logger.info(it.pluginName + " failed to enable, disabling it")
|
||||
if(ignored is CancellationException) {
|
||||
it.disable(ignored)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user