Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix(error): throw error when transform failed #96

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

upupming
Copy link
Member

当出现错误的时候还是需要 throw 一下,不然既有错误(picgo error),又会触发 finished 事件,issue closed PicGo/vs-picgo#99

@upupming
Copy link
Member Author

感觉所有 ctx.log.error 交给最外层的 LifeCycle 来处理好一些

@Molunerfinn Molunerfinn merged commit 57fce75 into dev Aug 21, 2021
@Molunerfinn Molunerfinn deleted the throw-error-when-failed branch August 21, 2021 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

插件对于报错信息的不正确处理
2 participants