print the error when it throws an error
it might not even matter because it will just flash too fast
This commit is contained in:
@@ -84,6 +84,7 @@ func (r *Replayer) renderToTerminal(ctx context.Context) {
|
|||||||
err := binary.Read(&bytesReader, binary.LittleEndian, &og)
|
err := binary.Read(&bytesReader, binary.LittleEndian, &og)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(&s, "FAILED TO PARSE DATA\nError: %+v", err)
|
fmt.Fprintf(&s, "FAILED TO PARSE DATA\nError: %+v", err)
|
||||||
|
fmt.Fprint(os.Stdout, s.String())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user