Skip to content

Commit efe2d60

Browse files
committed
fix: add newline to error message in RespError function
1 parent 1191e1f commit efe2d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func init() {
1717

1818
func RespError(err error) error {
1919
if err != nil {
20-
errMsg := fmt.Sprintf("there was an error during the call execution: %s", err)
20+
errMsg := fmt.Sprintf("there was an error during the call execution: %s\n", err)
2121

2222
if verbose {
2323
log.SetOutput(os.Stderr)

0 commit comments

Comments
 (0)