Tasit-Action config file errors handling and path #103
Labels
action
tasit-action child package
enhancement
New feature or request
good first issue
Good for newcomers
tech debt
Technical debt not involving bugs or features
Milestone
Improve config file errors and warnings on these cases:
1. Config file not found
Throw error but keep an option open for the user to use the default as simply as possible.
2. Config w/ missing parts (e.g. jsonrpc provider without connections params)
Throw error and log exactly what is missing and suggest defaults in the log statements. The more lines we have
const { bla } = blaBla
followed bythe better.
3. Error on parsing config file
Throwing and error and logging as best we can in which step the parsing failed. The more lines we have like this, the better:
Related to: #87 (comment)
The text was updated successfully, but these errors were encountered: