ftrrtf / FtrrtfRollbarBundle

[Deprecated] Symfony2 Bundle for rollbar.com
MIT License
13 stars 16 forks source link

Disabled twig extension #2

Closed ertrzyiks closed 10 years ago

ertrzyiks commented 10 years ago

Is there any reason why twig extension is commented out from services?

ftrrtf commented 10 years ago

Yes, it was not completed and tested. On the weekend I started work on the rollbar-notifier and this bundle. I think tomorrow will be done a new improved version and documentation(!) ;)

ertrzyiks commented 10 years ago

Thanks, its great to hear that! Looking forward for your update.

ftrrtf commented 10 years ago

@ertrzyiks Hey! Unfortunately I'm very busy last two days, had not yet managed to finish the documentation as promised. Here is an configuration example:

ftrrtf_rollbar:
    notifier:
        server:
            transport:
                type: curl
                access_token: %server_access_token%
        client:
            access_token: %client_access_token%
    environment:
        environment: "%rollbar_environment%[%kernel.environment%]"

And after — add into template {{ rollbarjs() }} to javascript block. I hope I helped you at least a little.

I will be grateful for the feedback.

ertrzyiks commented 10 years ago

@ftrrtf, hey, many thanks for code update. I closed this issue when i saw that client part is available in master codebase. I've just read configuration description to setup proper config without documentation :)

I will let you know about results after my next deployment to testing server.

Cheers

ertrzyiks commented 10 years ago

hi @ftrrtf we are using updated bundle and it integrates and catch errors fine, good job!

I have feature request, actually, but i will try deliver idea with piece of code soon.