diff --git a/cmd/flux/check_test.go b/cmd/flux/check_test.go
index e6374535b4cf698c68981bc4155b512034b4861a..41b885ab49d1e646a2bbaaa7779e3de32b704496 100644
--- a/cmd/flux/check_test.go
+++ b/cmd/flux/check_test.go
@@ -37,7 +37,7 @@ func TestCheckPre(t *testing.T) {
 
 	var versions map[string]version.Info
 	if err := json.Unmarshal([]byte(jsonOutput), &versions); err != nil {
-		t.Fatalf("Error unmarshalling: %v", err.Error())
+		t.Fatalf("Error unmarshalling '%s': %v", jsonOutput, err.Error())
 	}
 
 	serverVersion := strings.TrimPrefix(versions["serverVersion"].GitVersion, "v")