We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db9a863 commit 5c04939Copy full SHA for 5c04939
1 file changed
pkg/palrcon/palrcon.go
@@ -52,7 +52,7 @@ func (p *palRCON) execute(command string) (string, error) {
52
result, err := rconn.Execute(command)
53
54
if err != nil {
55
- return "", fmt.Errorf("failed to execute ShowPlayers: %w", err)
+ return result, fmt.Errorf("failed to execute the command: %w", err)
56
}
57
58
return result, nil
0 commit comments