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 300c09fed0..6a48210b4e 100644
--- a/error.c
+++ b/error.c
@@ -330,7 +330,7 @@ exc_inspect(exc)
str = rb_str_new2("#<");
klass = rb_class_path(klass);
rb_str_concat(str, klass);
- rb_str_cat(str, ":", 1);
+ rb_str_cat(str, ": ", 2);
rb_str_concat(str, exc);
rb_str_cat(str, ">", 1);