A combination of WithInner and WithMsg lead to loss of infomation. Here is a quick recap of the output I encounterd.
error: TSV generation failed: message does not contain a ReferenceList
error: TSV generation failed: message does not contain a ReferenceList
error: TSV generation failed: message does not contain a ReferenceList
inner looks like this: error:
TSV generation failed
inner looks like this: error:
TSV generation failed
inner looks like this: error:
TSV generation failed
inner looks like this: error: message does not contain a ReferenceList
inner looks like this: error: message does not contain a ReferenceList
inner looks like this: error: message does not contain a ReferenceList
code that used to cause this:
if !minHashObj.HasReferenceList() {
return fmt.Errorf("message does not contain a ReferenceList")
}
//leads back to
if err := ExportMinHashesToTSV(inputStream, outputStream); err != nil {
return errorutils.New(err, errorutils.WithExitCode(2), errorutils.WithLineRef("h4mD92FLvUG"), errorutils.WithInner(fmt.Errorf("inner looks like this")))
}
A combination of WithInner and WithMsg lead to loss of infomation. Here is a quick recap of the output I encounterd.
code that used to cause this: