diff --git a/quickcheck/src/main/java/quickcheck/plugin/QuickCheckThread.java b/quickcheck/src/main/java/quickcheck/plugin/QuickCheckThread.java index 564a84157..7eaede3e6 100644 --- a/quickcheck/src/main/java/quickcheck/plugin/QuickCheckThread.java +++ b/quickcheck/src/main/java/quickcheck/plugin/QuickCheckThread.java @@ -205,7 +205,12 @@ private JSONObject getQCResponse(ProofObligation po, List messages) { if (po.message != null) // Add failed messages as a warning too { - messages.add(new VDMWarning(9000, po.message, po.location)); + StringBuilder sb = new StringBuilder(); + sb.append("PO #"); + sb.append(po.number); + sb.append(" "); + sb.append(po.message); + messages.add(new VDMWarning(9000, sb.toString(), po.location)); } }