mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-02-26 00:10:59 +01:00
Fix error message
This commit is contained in:
@@ -247,7 +247,7 @@ object PluginRegistry {
|
||||
))
|
||||
} catch {
|
||||
case e: Throwable => {
|
||||
logger.error(s"Error during plugin initialization: ${pluginJar.getAbsolutePath}", e)
|
||||
logger.error(s"Error during plugin initialization: ${pluginJar.getName}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -265,7 +265,7 @@ object PluginRegistry {
|
||||
pluginInfo.pluginClass.shutdown(instance, context, settings)
|
||||
} catch {
|
||||
case e: Exception => {
|
||||
logger.error(s"Error during plugin shutdown", e)
|
||||
logger.error(s"Error during plugin shutdown: ${pluginInfo.pluginJar.getName}", e)
|
||||
}
|
||||
} finally {
|
||||
pluginInfo.classLoader.close()
|
||||
|
||||
Reference in New Issue
Block a user