File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func NewCommand(srv rpc.ArduinoCoreServiceServer, settings *rpc.Configuration) *
58
58
})
59
59
if err != nil {
60
60
// Should never happen...
61
- panic ( "Failed to set default value for directories.builtin.libraries: " + err . Error () )
61
+ feedback . Fatal ( i18n . Tr ( "Cannot set the configuration key directories.builtin.libraries: %v" , err ), feedback . ErrGeneric )
62
62
}
63
63
}
64
64
@@ -75,7 +75,7 @@ func NewCommand(srv rpc.ArduinoCoreServiceServer, settings *rpc.Configuration) *
75
75
})
76
76
if err != nil {
77
77
// Should never happen...
78
- panic ( "Failed to set default value for network.user_agent_ext: " + err . Error () )
78
+ feedback . Fatal ( i18n . Tr ( "Cannot set the configuration key network.user_agent_ext: %v" , err ), feedback . ErrGeneric )
79
79
}
80
80
},
81
81
Run : func (cmd * cobra.Command , args []string ) {
You can’t perform that action at this time.
0 commit comments