File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
framework/components/blockchain Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,18 @@ func newTon(in *Input) (*Output, error) {
104104 networkName := "ton"
105105 lightCLientSubNet := "172.28.0.0/16"
106106 //nolint:gosec
107- _ = exec .Command ("docker" , "network" , "create" ,
107+ cmd : = exec .Command ("docker" , "network" , "create" ,
108108 "--driver=bridge" ,
109109 "--attachable" ,
110110 fmt .Sprintf ("--subnet=%s" , lightCLientSubNet ),
111111 "--label=framework=ctf" ,
112112 networkName ,
113113 )
114+ output , err := cmd .CombinedOutput ()
115+ framework .L .Info ().Str ("output" , string (output )).Msg ("TON Docker network created" )
116+ if err != nil {
117+ return nil , fmt .Errorf ("failed to create docker network: %v" , err )
118+ }
114119
115120 tonServices := []containerTemplate {
116121 {
You can’t perform that action at this time.
0 commit comments