makeConfig should return an error
Đang mở
bug
- Ngôn ngữ chính
- Go
- Star
- 44
- Fork
- 34
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Subject of the issue
When starting conduit with a data directory that has the wrong permissions, errors occur that do not halt the program.
```
{"__type":"Conduit","_name":"main","level":"error","msg":"Unable to create plugin data directory: mkdir data/importer_algod: permission denied","time":"2023-03-31T12:38:56Z"}
```
After seeing this error conduit continued to run until a later error crashes the program.
### Solution
Modify `makeConfig` to propagate errors from `MkdirAll` and check them in `pipeline.go:Init()`.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.