Commit dbdaceeb authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #3776 from ethereum-optimism/fix/err-msg

op-chain-ops: improve error message
parents c7c84885 8c5f0e33
......@@ -3,6 +3,7 @@ package genesis
import (
"encoding/json"
"errors"
"fmt"
"math/big"
"os"
"path/filepath"
......@@ -84,7 +85,7 @@ type DeployConfig struct {
func NewDeployConfig(path string) (*DeployConfig, error) {
file, err := os.ReadFile(path)
if err != nil {
return nil, err
return nil, fmt.Errorf("deploy config at %s not found: %w", path, err)
}
var config DeployConfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment