Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Elsa functions don't throw exceptions for errors #75

Open
Labels
bugSomething isn't workingpriorityPriority task
@samhza

Description

@samhza

Currently none of the Elsa functions (Elsa.stats,Elsa.readFile, etc) throw any exceptions in JS when they encounter errors, they instead print the error and exit with status code 1. There is no way to gracefully handle these errors from the JS code. These functions should throw exceptions instead of exiting so that the script (example below) can catch and handle them.

try{Elsa.stats("non-existent");}catch(error){console.error(error);}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriorityPriority task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp