diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-07-07 17:01:25 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-07-10 10:24:42 +0000 |
| commit | 0fbf9f05d4340c545551180419c1b8a5a0b13a0b (patch) | |
| tree | 1dfbddd074514f9474da712fdbeba9bed3396d37 /pkg/instance | |
| parent | 668cb1fa42960ece96b7da8d9204e486ba6dcdf6 (diff) | |
pkg/instance: don't fail on symbolization error
The test() code is used for reproducer generation and kernel bisections,
we don't need symoblized reports there.
Instead of retuning an error, just print a log message.
Diffstat (limited to 'pkg/instance')
| -rw-r--r-- | pkg/instance/execprog.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/execprog.go b/pkg/instance/execprog.go index f325dc040..8f052f629 100644 --- a/pkg/instance/execprog.go +++ b/pkg/instance/execprog.go @@ -122,7 +122,7 @@ func (inst *ExecProgInstance) runCommand(command string, duration time.Duration) inst.Logf(2, "program did not crash") } else { if err := inst.reporter.Symbolize(result.Report); err != nil { - return nil, fmt.Errorf("failed to symbolize report: %v", err) + inst.Logf(0, "failed to symbolize report: %v", err) } inst.Logf(2, "program crashed: %v", result.Report.Title) } |
