Commit bf50ec4a authored by Josh Haberman's avatar Josh Haberman

Added debugging output to debug type= problem on Travis.

parent ea909a57
PATH
remote: .
specs:
google-protobuf (3.0.0.alpha.4.0)
google-protobuf (3.0.0.alpha.5.0)
GEM
remote: https://rubygems.org/
......
......@@ -543,7 +543,8 @@ VALUE FieldDescriptor_name_set(VALUE _self, VALUE str) {
upb_fieldtype_t ruby_to_fieldtype(VALUE type) {
if (TYPE(type) != T_SYMBOL) {
rb_raise(rb_eArgError, "Expected symbol for field type.");
rb_raise(rb_eArgError, "Expected symbol for field type, not: %s (%d)",
RSTRING_PTR(rb_inspect(type)), TYPE(type));
}
#define CONVERT(upb, ruby) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment