onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Gracefully recovery from C1.0 contract update validation panics #1602

Closed jribbink closed 1 month ago

jribbink commented 1 month ago

We should gracefully recover from any panic's encountered during contract update validation to report to the user why staging their contracts is failing. This is being done in flow-go now, so it makes sense to do this in the Flow CLI checker as well.

https://github.com/onflow/flow-go/pull/5935