Welcome to Yeller's documentation. Here you'll find guides on how to get Yeller installed in your app.
Need help?
I'm always happy to help out with code or any other questions.
Email me :
If you want to pair on getting Yeller setup on your project, or chat about how to use it most effectively, that's available as well, just hit me up via email.
Quick Start
If you've integrated Yeller before, or just want a cheat sheet to integrating the client libraries, see below.
;; Use our clojure ring middleware
(require 'yeller.clojure.ring)
(yeller.clojure.ring/wrap-ring
my-app
{:token "YOUR TOKEN HERE"
:environment "production"})
Add the gem to your Gemfile
gem "yeller_ruby"
Then configure and use a client
yeller_client = Yeller.client do |client|
client.token = "YOUR_TOKEN_HERE"
end
# record an exception
begin
# your code here
rescue StandardError => e
yeller_client.report(e)
end
Or use our rack middleware
Yeller::Rack.configure do |config|
config.token = 'YOUR API KEY HERE'
end
use Yeller::Rack
Add the gem to your Gemfile
gem "yeller_ruby"
Then use the Rails integration
# in config/initializers/yeller.rb
Yeller::Rails.configure do |config|
config.token = 'YOUR_API_KEY_HERE'
end
// make a client
YellerClient yellerClient = new YellerClient('YOUR_API_KEY_HERE');
//Report your own exception
try {
// Your code here
} catch (Throwable t) {
yellerClient.report(t);
throw t;
}
Load the script from the CDN, placing it in <head> above all other scripts (if you want to catch errors when loading them)
<script>
Yeller.configure({
token: 'YOUR_API_TOKEN_HERE'
});
try {
// your code here
catch(err) {
Yeller.report(err,
{ custom_data: {user_id: 123}});
}
</script>
Import the library from github:
import (
"github.com/yeller/yeller-golang"
)
Then connect to a client and start sending errors
// Start yeller in a specific deployment environment
yeller.StartEnv("YOUR_API_KEY", "production")
file, err := os.Open("filename.ext")
if err != nil {
// Notify the error by itself, with additional information
// about what was going on when the error happened.
info := make(map[string]interface{})
info["filename"] = "filename.ext"
yeller.NotifyInfo(err, info)
}