Skip to content
Browse files

improve debugging

  • Loading branch information...
1 parent 6cb2ed5 commit b4cc506219416709de41d9b3d4f7f036c46e5e4f @grosser committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/RubyVM.js
View
1 src/RubyVM.js
@@ -122,6 +122,7 @@ HotRuby.prototype = {
this.runOpcode(opcode, this.classes.Object, null, this.topObject, [], null, false, null);
} catch(e) {
alert(e);
+ if(console) console.log(e) // more details than alert
}
},

0 comments on commit b4cc506

Please sign in to comment.
Something went wrong with that request. Please try again.