Code Monkey home page Code Monkey logo

Comments (5)

Molunerfinn avatar Molunerfinn commented on June 23, 2024

@zzuzsj 我的锅,文档里忘了加 failed 事件,可以通过监听 failed 事件来监听错误事件。不过我忘了给它加回调的error信息了,十分抱歉。会立刻加上。
uploadProgress 里如果传了 -1 则表示上传失败,但不会有更多的错误信息。
相关源码在这里:https://github.com/PicGo/PicGo-Core/blob/dev/src/core/Lifecycle.ts#L32-L33
我这就去更新一下文档。感谢支持!

from picgo-core.

Molunerfinn avatar Molunerfinn commented on June 23, 2024

@zzuzsj 稍后更新 v1.2.10 版本就可以通过监听 failed 事件获取错误信息了。

from picgo-core.

Molunerfinn avatar Molunerfinn commented on June 23, 2024

文档也已经更新:
image

from picgo-core.

zzuzsj avatar zzuzsj commented on June 23, 2024

好的真是高效的coderthanku so much.你的picgo很好用~

from picgo-core.

Molunerfinn avatar Molunerfinn commented on June 23, 2024

如果你写的东西用了picgo之后也是开源的,欢迎贡献到awesome-list!

from picgo-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.