From 1a2e4563c239d97050476e1be5c86a70eb4511e2 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Thu, 28 Nov 2024 15:34:56 +0000 Subject: [PATCH] Use numerical formatting when printing F3 CLI error message Use numerical format to print actor IDs not found. Otherwise, `%q` will print special character. --- cli/f3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/f3.go b/cli/f3.go index 6a8f7cce32..966c6f3d68 100644 --- a/cli/f3.go +++ b/cli/f3.go @@ -287,7 +287,7 @@ var f3SubCmdPowerTable = &cli.Command{ seenIDs[actorID] = struct{}{} scaled, key := pt.Get(actorID) if key == nil { - return fmt.Errorf("actor ID %q not found in power table", actorID) + return fmt.Errorf("actor ID %d not found in power table", actorID) } result.ScaledSum += scaled }