Coder Social home page Coder Social logo

Comments (6)

benarent avatar benarent commented on August 11, 2024

Hi @tispratik, can you give me more information on the notifier your using and an overview of how it's configured. As per https://github.com/airbrake/airbrake-js/tree/master/examples

from airbrake-js.

tispratik avatar tispratik commented on August 11, 2024

Thanks for the quick reply. Here it is:

<% if AIRBRAKE_CONFIG && !Rails.env.development? && !Rails.env.test? %>
  <script src="/js/airbrake-shim.js" data-airbrake-project-id="<%= AIRBRAKE_CONFIG["project_id"] %>"
    data-airbrake-project-key="<%= AIRBRAKE_CONFIG["api_key"] %>" data-airbrake-environment="<%= Rails.env %>">
  </script>
<% end %>

from airbrake-js.

benarent avatar benarent commented on August 11, 2024

I've not played around with v0.3.0 as much as the other releases and a lot of things have changed.

The shim also requires another step to add in session and environment.

See https://github.com/airbrake/airbrake-js#advanced-usage

https://github.com/airbrake/airbrake-js/blob/ba8757ff6fc5033edb6c3f5ebc4157219b178e3f/README.md#default-annotations

In the coming weeks we'll also include this as part of the Airbrake Gem.

from airbrake-js.

tispratik avatar tispratik commented on August 11, 2024

Thanks for the information Ben. Can you comment about this question too
http://stackoverflow.com/q/21191743/238880 ?

~Pratik

On Fri, Jan 17, 2014 at 10:05 PM, Ben Arent [email protected]:

I've not played around with v0.3.0 as much as the other releases and a lot
of things have changed.

The shim also requires another step to add in session and environment.

See https://github.com/airbrake/airbrake-js#advanced-usage

https://github.com/airbrake/airbrake-js/blob/ba8757ff6fc5033edb6c3f5ebc4157219b178e3f/README.md#default-annotations

In the coming weeks we'll also include this as part of the Airbrake Gem.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-32675589
.

from airbrake-js.

vmihailenco avatar vmihailenco commented on August 11, 2024

Please rename data-airbrake-environment to the data-airbrake-environment-name.

notifier.js is the old version of the notifier. Please use airbrake-js instead.

from airbrake-js.

tispratik avatar tispratik commented on August 11, 2024

Thanks for the information @vmihailenco

from airbrake-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.