Skip to content

Instantly share code, notes, and snippets.

@sfgeorge
Created February 27, 2012 14:53
Show Gist options
  • Save sfgeorge/1924376 to your computer and use it in GitHub Desktop.
Save sfgeorge/1924376 to your computer and use it in GitHub Desktop.
events.after_initialized.each do
puts "Knock, knock"
raise 'fury'
puts "Who's there?"
end
@sfgeorge
Copy link
Author

When running this on ahn rev 062e1151, I got the following output, though I expected mention of the exception:

$ bundle exec ahn start .
INFO ahn 2012-02-27 08:56:11 Adhearsion v1.2.4 initialized! INFO agi 2012-02-27 08:56:11 Adhearsion::VoIP::Asterisk::AGI::Server::RubyServer 0.0.0.0:4573 start Knock, knock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment