Skip to content

Commit e8eff16

Browse files
committedApr 9, 2015
Fix Hash “key not found” error message
1 parent 3db6f3e commit e8eff16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎opal/corelib/hash.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def fetch(key, defaults = undefined, &block)
423423
return defaults;
424424
}
425425
426-
#{ raise KeyError, "key not found" };
426+
#{ raise KeyError, "key not found: #{key.inspect}" };
427427
}
428428
end
429429

0 commit comments

Comments
 (0)
Please sign in to comment.