Skip to content
This repository
Browse code

Make PMCProxy invalid type error more useful

  • Loading branch information...
commit 612ec787dc975c4d570fb9b95d5f9fbd2993e92a 1 parent cdf2e76
Duke Leto authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/pmc/pmcproxy.pmc
2  src/pmc/pmcproxy.pmc
@@ -102,7 +102,7 @@ Initializes a PMCProxy PMC.
102 102
         if (type_num > INTERP->n_vtable_max || type_num <= 0)
103 103
             Parrot_ex_throw_from_c_args(INTERP, NULL,
104 104
                     EXCEPTION_INVALID_OPERATION,
105  
-                    "Attempt to create PMC Proxy for invalid type number!");
  105
+                    "Attempt to create PMC Proxy for invalid type number = %d!", type_num);
106 106
 
107 107
         /* Set up the object. */
108 108
         SELF.init();

0 notes on commit 612ec78

Please sign in to comment.
Something went wrong with that request. Please try again.