Coder Social home page Coder Social logo

Comments (4)

zcbenz avatar zcbenz commented on August 15, 2024 1

Sorry for the late response. The project was initially only intended to be used as CLI tool so there was lack of error handling, but it is definitely not a good thing. Contributions to add error handling would be very welcomed.

from asar.

Nantris avatar Nantris commented on August 15, 2024

@zcbenz @MarshallOfSound is this an intentional behavior? If so can you clue me into the rationale?

Is there any way you can suggest that one could gracefully handle errors during programmatic use?

Right now the only method that occurs me to me is to wait XX seconds for an operation to finish, and to assume that it failed if the time exceeds XX seconds, but that's pretty brittle.

It would be wonderful is asar threw an error when the file write failed in some capacity!

from asar.

Nantris avatar Nantris commented on August 15, 2024

In lieu of an error, is there any way to verify the integrity of the entire file?

from asar.

Nantris avatar Nantris commented on August 15, 2024

To clarify, I know the README says no errors are provided, but the reason I find this particular lack of error unexpected is that errors do seem to be provided upon failure to extract the archive in the same scenario (full disk.)

Actually, this is the only operation I've come across that actually adheres to the README - granted I'm not using half the functions.

from asar.

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.