sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Interception.rescue
Called by platform-specific implementations whenever an exception is raised.
The arguments will be forwarded on to all listeners added via {listen} that
haven't been removed via {unlisten}.
For efficiency, this block will never be called unless there are active
listeners.Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/interception/lib/interception.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Interception-rescue-for-pr
# Commit to gitgit add app/server/ruby/vendor/interception/lib/interception.rbgit commit -m "better docs for Interception.rescue"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Interception-rescue-for-pr
hub pull-request
# Celebrate!