summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index d6f5485933..e060ea0461 100644
--- a/error.c
+++ b/error.c
@@ -280,7 +280,7 @@ rb_check_type(x, t)
}
type++;
}
- rb_bug("unknown type 0x%x", t);
+ rb_bug("unknown type 0x%x (0x%x given)", t, TYPE(x));
}
}