Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treechecker shouldn't choke on IOError and other classes #30

Closed
jmettraux opened this issue Jul 20, 2011 · 1 comment
Closed

treechecker shouldn't choke on IOError and other classes #30

jmettraux opened this issue Jul 20, 2011 · 1 comment

Comments

@jmettraux
Copy link
Owner

22:03 _Taz_: Is there a way to handle "being / rescue / end" block without being shot at by the Rufus tree Checker about global vars?
22:04 jmettraux: ?
22:05 jmettraux: begin/rescue/end has nothing to do with global variables 
22:06 _Taz_: Event with a "rescue IOError => e [...]", with IOError being considered as a global var?
22:07 jmettraux: what is the exact error message you are seeing ?
22:08 _Taz_: /var/lib/gems/1.8/gems/rufus-treechecker-1.0.6/lib/rufus/treechecker.rb:238:in `check': global vars are forbidden (Rufus::SecurityError)
22:08 _Taz_: from /var/lib/gems/1.8/gems/rufus-treechecker-1.0.6/lib/rufus/treechecker.rb:519:in `do_check'
22:08 _Taz_: from /var/lib/gems/1.8/gems/rufus-treechecker-1.0.6/lib/rufus/treechecker.rb:525:in `do_check'
22:08 _Taz_: [... truncated ...]
22:08 _Taz_: from /var/lib/gems/1.8/gems/ruote-2.2.1/lib/ruote/engine.rb:622:in `register_participant'
22:08 _Taz_: from ./rest.rb:334
@jmettraux
Copy link
Owner Author

eventually add option to trust any block participant code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant