Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

failed to track some other panic msgs #29

@LinkShen

Description

@LinkShen

Hi, recently I found that some specific panic type will be ignored. As the code shown below:

func trackPanic(r io.Reader, w io.Writer, dur time.Duration, result chan<- string) {
	...
	panicHeaders := [][]byte{
		[]byte("panic:"),
		[]byte("fatal error: fault"),
	}
	...
}

panicwrap only deal with these two kinds panic msgs. But I met:
"fatal error: concurrent map iteration and map write"
these kinds of panic will be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions