Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

fix: throw exception and then return exit(1) on call with error #966

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kalloc
Copy link

@kalloc kalloc commented Apr 22, 2022

Hi!

I found the missing process.exit(1) after an error during functionCall.

Expected example:

./bin/near call usn unknown_method '{}' --accountId kalloc.testnet > /dev/null;echo $?
        Failure [usn]: Error: Can't complete the action because account usn doesn't exist
…
}
1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant