gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Modify ExportState in `bbs2gh` so if it treats unexpected values as errors

Open dylan-smith opened this issue 3 years ago • 0 comments

I managed to get into an infinite loop because I had an invalid value (in this case null), that I was passing to ExportState.IsInProgress() and that treats any unexpected value as InProgress. It should treat unexpected values as errors like we do in other similar places in the code. IsInProgress should specifically check for what state value it expects, and treat anything else as error state.

dylan-smith avatar Nov 03 '22 19:11 dylan-smith