grape-bugsnag:Grape 扩展将 API 错误通知给 Bugsnag

时间:2021-06-04 21:18:19
【文件属性】:
文件名称:grape-bugsnag:Grape 扩展将 API 错误通知给 Bugsnag
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-04 21:18:19
Ruby 葡萄::臭虫 此扩展增强了默认错误中间件,在响应之前通过通知异常。 安装 将此行添加到应用程序的 Gemfile 中: gem 'grape-bugsnag' 要求 Ruby >= 2.0 用法 只是工作! ;) 确保在 Rails/Sinatra/Rack 应用程序的其他地方指定了您的 Bugsnag 凭据。 去做 允许对通知哪些异常进行更细粒度的控制。 贡献 分叉它( /grape-bugsnag/fork ) 创建您的功能分支( git checkout -b my-new-feature ) 提交您的更改( git commit -am 'Add some feature' ) 推送到分支( git push origin my-new-feature ) 创建新的拉取请求
【文件预览】:
grape-bugsnag-master
----.gitignore(168B)
----.rspec(26B)
----.travis.yml(30B)
----grape-bugsnag.gemspec(1KB)
----LICENSE.txt(1KB)
----spec()
--------grape()
--------spec_helper.rb(330B)
----README.md(1KB)
----lib()
--------grape()
----Gemfile(98B)
----Rakefile(114B)

网友评论