Skip to content

Commit

Permalink
optimize: 添加附件保存DEBUG级别日志
Browse files Browse the repository at this point in the history
  • Loading branch information
li-guohao committed Jun 11, 2024
1 parent 67da09c commit f393db0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

# 0.12.6

## 优化

- 添加附件保存DEBUG级别日志

# 0.12.5

## 优化
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=run.ikaros.plugin.alist
description=A ikaros plugin for alist.
version=0.12.5
version=0.12.6
3 changes: 2 additions & 1 deletion src/main/java/run/ikaros/plugin/alist/AListClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ private Mono<AListAttachment> saveAListAttachment(AListAttachment aListAttachmen
.size(aListAttachment.getSize())
.url(aListAttachment.getRaw_url())
.fsPath(getPathByPathArr(aListAttachment.getPaths()))
.build()))
.build())
.doOnSuccess(att -> log.debug("Save attachment[{}] for alist[{}]", att.getName(), att.getFsPath())))
.then(attachmentOperate.findByTypeAndParentIdAndName(
type, aListAttachment.getParentId(), aListAttachment.getName()
))
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: PluginAList
# plugin entry class that extends BasePlugin
clazz: run.ikaros.plugin.alist.AListPlugin
# plugin 'version' is a valid semantic version string (see semver.org).
version: 0.12.5
version: 0.12.6
requires: ">=0.12.1"
author:
name: Ikaros OSS Team
Expand Down

0 comments on commit f393db0

Please sign in to comment.