更新主题报错
Created by: qiguoqiang
我的环境
版本:1.4.2 数据库:H2 1.4.196 (2017-06-10) 运行模式:production User Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
错误日志
2020-11-04 11:47:15.806 ERROR 6 --- [qtp-2037084727-107] r.h.app.core.ControllerExceptionHandler : Captured an exception: [主题更新失败!Ref master already exists] 2020-11-04 11:47:43.056 WARN 6 --- [qtp-2037084727-107] org.eclipse.jgit.lib.Repository : close() called when useCnt is already zero for Repository[/root/.halo/templates/themes/caicai_anatole/.git] 2020-11-04 11:47:43.056 ERROR 6 --- [qtp-2037084727-107] r.h.app.core.ControllerExceptionHandler : Captured an exception: [主题更新失败!Ref master already exists] 2020-11-04 11:47:49.910 WARN 6 --- [qtp-2037084727-107] org.eclipse.jgit.lib.Repository : close() called when useCnt is already zero for Repository[/root/.halo/templates/themes/caicai_anatole/.git] 2020-11-04 11:47:49.910 ERROR 6 --- [qtp-2037084727-107] r.h.app.core.ControllerExceptionHandler : Captured an exception: [主题更新失败!Ref master already exists] 2020-11-04 11:47:56.868 WARN 6 --- [qtp-2037084727-107] org.eclipse.jgit.lib.Repository : close() called when useCnt is already zero for Repository[/root/.halo/templates/themes/caicai_anatole/.git] 2020-11-04 11:47:56.868 ERROR 6 --- [qtp-2037084727-107] r.h.app.core.ControllerExceptionHandler : Captured an exception: [主题更新失败!Ref master already exists] 2020-11-04 11:49:36.290 WARN 6 --- [qtp-2037084727-24] org.eclipse.jgit.lib.Repository : close() called when useCnt is already zero for Repository[/root/.halo/templates/themes/caicai_anatole/.git] 2020-11-04 11:49:36.290 ERROR 6 --- [qtp-2037084727-24] r.h.app.core.ControllerExceptionHandler : Captured an exception: [主题更新失败!Ref master already exists]
期望行为
主题可以正常更新