Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Exception never raised when threading an eval containing a malformed command [might be a bug ?]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ezra Zygmuntowicz, post: 4547521"] Hi~ Ben- By default ruby doesn't propogate exceptions up out of the threads, if an exception is raised in a thread that thread will just silently dies. To make exceptions in a thread raise to the top level you need to set this in your script: Thread.abort_on_exception = true Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [email]ez@engineyard.com[/email] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Exception never raised when threading an eval containing a malformed command [might be a bug ?]
Top