aina-saa / aina-saa/maws2json

In case of corrupted data line do not die uncontrolably

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug enhancement good first issue
Ngôn ngữ chính
Go
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If the LOG,PTU or WIND line is corrupted disregard it or output an error. This behaviour should be controlled by option flag. Default behavior should be to disregard.

```
Feb 05 22:48:18 vm-machine maws_record.sh[870]: panic: strconv.ParseFloat: parsing "/////": invalid syntax
Feb 05 22:48:18 vm-machine maws_record.sh[870]: goroutine 1 [running]:
Feb 05 22:48:18 vm-machine maws_record.sh[870]: github.com/aina-saa/maws2json/process.Process({0xc000016850, 0xf}, {0x684c88, 0x1}, 0x1, 0x1, 0x1, 0x1)
Feb 05 22:48:18 vm-machine maws_record.sh[870]: /workspace/process/process.go:69 +0xd30
Feb 05 22:48:18 vm-machine maws_record.sh[870]: main.main()
Feb 05 22:48:18 vm-machine maws_record.sh[870]: /workspace/main.go:41 +0x17d
Feb 05 22:48:20 vm-machine maws_record.sh[869]: cat: write error: Broken pipe
```

Causes a bug here to manifest: https://github.com/aina-saa/methodius/issues/8

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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.