---
id: 1953
title: "Panicking the right way in Go"
source_domain: blog.trailofbits.com
source_url: "https://blog.trailofbits.com/2019/06/26/panicking-the-right-way-in-go/"
published_at: "2019-06-26T10:50:58Z"
tags: ["web3", "go", "tools", "dynamic-analysis", "blockchain", "race-detection", "panic-recovery"]
phying_url: "https://phying.com/item/1953"
lang: en
---

# Panicking the right way in Go

## Summary

OnEdge catches a subtle Go bug: global state changes made before a panic survive recover(). The tool reduces detection to race analysis, spotting issues like partially applied blockchain transactions.

## Intelligence Metadata

- **Sources:** blog.trailofbits.com
- **Published:** 2019-06-26T10:50:58Z
- **Original:** https://blog.trailofbits.com/2019/06/26/panicking-the-right-way-in-go/
- **Phying News:** https://phying.com/item/1953
