mirror of
https://github.com/wader/fq.git
synced 2024-10-06 16:39:48 +03:00
changes Errorf to Fatalf on infinite loops
This commit is contained in:
parent
4d8dd5c5e3
commit
4ee7dd8a38
@ -181,7 +181,7 @@ func (pl *plist) decodeReference(d *decode.D, idx uint64) any {
|
||||
}
|
||||
|
||||
if pl.indexIsInStack(idx) {
|
||||
d.Errorf("recursion detected: object %d already decoded in stack %v", idx, pl.objectStack)
|
||||
d.Fatalf("recursion detected: object %d already decoded in stack %v", idx, pl.objectStack)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user