Giter VIP home page Giter VIP logo

airbrake-bundle's Introduction

๐Ÿ‘‹ Hi there! ๐Ÿ‘‹

Anton Minin's Github Stats Most used Languages

airbrake-bundle's People

Contributors

aminin avatar cybervoid avatar iangregory avatar ianwelsh avatar zzromanzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

airbrake-bundle's Issues

Cant deactivate bundle if using explicit DependancyInjection

I am running in to a problem when trying to follow latest Symfony standards and disable the Notifier for dev/test environments.

I have a listener that grabs the service and adds context if the service is present. Up until recently I was inserting the container to this listener, checking if the Notifier was present and using it but as of Symfony 5.1 I'm getting this error

The "ami_airbrake.notifier" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.

If I switch to direct injection everything is happy until I disable the service by setting the airbrake key to null (as per the docs) the service is not loaded and the compile fails.

I have worked around this problem this with my own services but substituting a Mock Service object instead of the real Notifier when in dev, I'd be happy to submit a PR that adds a NotifierInterface class that can be implemented by both real and Mock Services to make this possible if that'd be accepted or is there a more tidy solution?

Error for symfony 5.1.2

Description:
Installing this bundle in Symfony 5 errors out with You have requested a non-existent parameter "kernel.root_dir". Did you mean one of these: "kernel.project_dir", "kernel.cache_dir", "kernel.logs_dir"?

How to reproduce:
Install symfony the latest and then install this bundle

Possible Solution:
#8

Add possibility to add a filter

I'd like to call the addFilter function of the Notifier API, but I don't see a way to get the notifier. Is it possible to add a functionality for this?

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.