Skip to content

Commit 0443d32

Browse files
committed
Fixed some error formatting
1 parent 441c63e commit 0443d32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cli/compile/compile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
241241
Protocol: port.Protocol,
242242
})
243243
if err != nil {
244-
feedback.Errorf(tr("Error during Upload: %v"), err)
244+
feedback.Errorf(tr("Error during Upload: %v", err))
245245
os.Exit(errorcodes.ErrGeneric)
246246
}
247247

cli/debug/debug.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func runDebugCommand(command *cobra.Command, args []string) {
9292
if printInfo {
9393

9494
if res, err := debug.GetDebugConfig(context.Background(), debugConfigRequested); err != nil {
95-
feedback.Errorf(tr("Error getting Debug info: %v"), err)
95+
feedback.Errorf(tr("Error getting Debug info: %v", err))
9696
os.Exit(errorcodes.ErrBadArgument)
9797
} else {
9898
feedback.PrintResult(&debugInfoResult{res})
@@ -105,7 +105,7 @@ func runDebugCommand(command *cobra.Command, args []string) {
105105
signal.Notify(ctrlc, os.Interrupt)
106106

107107
if _, err := debug.Debug(context.Background(), debugConfigRequested, os.Stdin, os.Stdout, ctrlc); err != nil {
108-
feedback.Errorf(tr("Error during Debug: %v"), err)
108+
feedback.Errorf(tr("Error during Debug: %v", err))
109109
os.Exit(errorcodes.ErrGeneric)
110110
}
111111

0 commit comments

Comments
 (0)