Skip to content

Commit f393db0

Browse files
author
li-guohao
committed
optimize: 添加附件保存DEBUG级别日志
1 parent 67da09c commit f393db0

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
更新日志文档,版本顺序从新到旧,最新版本在最前(上)面。
44

5+
# 0.12.6
6+
7+
## 优化
8+
9+
- 添加附件保存DEBUG级别日志
10+
511
# 0.12.5
612

713
## 优化

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
group=run.ikaros.plugin.alist
22
description=A ikaros plugin for alist.
3-
version=0.12.5
3+
version=0.12.6

src/main/java/run/ikaros/plugin/alist/AListClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ private Mono<AListAttachment> saveAListAttachment(AListAttachment aListAttachmen
153153
.size(aListAttachment.getSize())
154154
.url(aListAttachment.getRaw_url())
155155
.fsPath(getPathByPathArr(aListAttachment.getPaths()))
156-
.build()))
156+
.build())
157+
.doOnSuccess(att -> log.debug("Save attachment[{}] for alist[{}]", att.getName(), att.getFsPath())))
157158
.then(attachmentOperate.findByTypeAndParentIdAndName(
158159
type, aListAttachment.getParentId(), aListAttachment.getName()
159160
))

src/main/resources/plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: PluginAList
44
# plugin entry class that extends BasePlugin
55
clazz: run.ikaros.plugin.alist.AListPlugin
66
# plugin 'version' is a valid semantic version string (see semver.org).
7-
version: 0.12.5
7+
version: 0.12.6
88
requires: ">=0.12.1"
99
author:
1010
name: Ikaros OSS Team

0 commit comments

Comments
 (0)