log interrupt reason

This commit is contained in:
Jeremy Wei 2025-09-03 14:30:01 -04:00
parent fda39936ad
commit 13bd05640e

View file

@ -271,6 +271,7 @@ func (t *callTracer) GetResult() (json.RawMessage, error) {
// Stop terminates execution of the tracer at the first opportune moment. // Stop terminates execution of the tracer at the first opportune moment.
func (t *callTracer) Stop(err error) { func (t *callTracer) Stop(err error) {
t.reason = err t.reason = err
fmt.Printf("[JEREMYDEBUG] In callTracer, Stop: err %v\n", err)
t.interrupt.Store(true) t.interrupt.Store(true)
} }