summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f5151e)
raw | patch | inline | side by side (parent: 1f5151e)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Jun 2007 16:50:23 +0000 (16:50 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Jun 2007 16:50:23 +0000 (16:50 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1117 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/ruby/main.c | patch | blob | history |
diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c
index b2eaa68e6c1ea22a2c7caa60aba26615cc8e8aa1..94f17e19adaa10af6449c6c51e060978444b3c93 100644 (file)
--- a/bindings/ruby/main.c
+++ b/bindings/ruby/main.c
a.strings[i + 1] = strdup(buf);
break;
default:
- rb_raise(rb_eTypeError, "invalid argument");
+ rb_raise(rb_eTypeError, "invalid argument - %s, expected T_STRING or T_FIXNUM on index %d", rb_class2name(CLASS_OF(v)), i);
break;
}
}