Questions tagged [rollbar]

Full-stack error tracking system available for any language.

0
votes
1answer
5 views

How to upload source maps to Rollbar.js from create-react-app without hosting them publicly?

1) I have an app created with the help of Create-react-app 2) It's not ejected 3) I don't want to upload source maps publicly 4) I have set up app to work with Rollbar.js for error tracking on ...
0
votes
1answer
18 views

Rollbar + React: Multiple minified JS and Sourcemaps

I'm trying to integrate Rollbar into my ReactJS project. I was able to follow the setup instructions at https://docs.rollbar.com/docs/react and now want to upload my source maps. I have been referring ...
0
votes
1answer
28 views

Rails rescue specific error and send to rollbar

In my call method I want to expire all offers but, to do so, I have catch two specific errors (validations and possible AASM) and rescue from them. Both of them should be sended to Rollbar. def call ...
0
votes
0answers
27 views

Error messages are not sending to Rollbar dashboard using asp.net core 1.0.1 web api application

I'm using an asp.net core 1.0.1 web api project where Rollbar exception handling has implemented by using "RollbarDotNet": "0.5.1" version. It was working fine as I expected before but now there is ...
0
votes
1answer
54 views

Ruby on Rails sending 500 errors to Rollbar in a properly way

In my Rails app I'm rescuing from all possible error, therefore it's possible that some 500 are not correctly sent to Rollbar and I want to fix it. I'm reviewing the documentation but without a ...
1
vote
0answers
31 views

how to add rollbar appender to log4net

I have a .net core web api that logs errors using log4net. I have both a console appender and a file appender and now want to integrate rollbar logging. Rollbar has a custom appender in their plugin ...
0
votes
0answers
22 views

'%NODE_ENV%' === 'production' evaluate to false when `%NODE_ENV%` value is `production`

I'm following this guide https://docs.rollbar.com/docs/react#section-create-react-app and encounter unexpected behavior: Inside /public/index.html: var env = '%NODE_ENV%' console.log(1:, ('%NODE_ENV%...
0
votes
1answer
37 views

How to load error trackers from script tag?

I'm working on small .js which is going to be embedded on multiple websites, it will be loaded in a classic way - via script tag: <script src="myscript.js"></script> in sites body tag. I ...
0
votes
1answer
23 views

Rollbar logging api key

So I have a flutter app that logs to Rollbar. The https requests require an API key (restricted to just being able to submit logs) which will be the same for all clients. Is it good practice to keep ...
1
vote
1answer
81 views

Injecting Rollbar in Angular 6

I am trying to use Rollbar in Angular 6. Here is my code in the relevant code in the root module, app.module.ts: const rollbarConfig = { accessToken: '<My Rollbar Token>', captureUncaught: ...
1
vote
1answer
45 views

Rollbar does not detect errors within chrome.tabs callbacks

I noticed that rollbar items are not reported for errors that occur in callback in chrome.tabs calls. For example the following error will not get reported: chrome.tabs.getCurrent(function(currentTab)...
5
votes
1answer
85 views

How to use __STACKTRACE__ in case statement or controllers

I'm struggling with a deprecation warning in my Phoenix app : System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access ...
0
votes
1answer
41 views

'curl' error when integrating Rollbar into React Native

I'm following this guide (https://rollbar.com/blog/react-native-error-monitoring/) and the following command: curl https://api.rollbar.com/api/1/sourcemap \ -F access_token=...
0
votes
1answer
68 views

Is there a better way to use rollbar error reporting with flask?

I just came across rollbar and wanted to include it in my Python project. This is the standard way in which I am told to implement rollbar from the website. import rollbar rollbar.init('KEY') try: ...
1
vote
0answers
36 views

Rollbar overrides Laravel's exception handler

I'm using Rollbar in a Laravel 5.7 app, and the following situation has been confusing and frustrating me. It seems that my \app\Exceptions\Handler.php file isn't getting used normally. I finally ...
1
vote
1answer
32 views

Android data is sent but doesn't appear on Rollbar

we have a Kotlin Android app, we want to integrate rollbar but so far it hasn't worked, our gradle fie: android { compileSdkVersion 26 defaultConfig { minSdkVersion 21 ...
0
votes
0answers
13 views

whoops + rollbar - Getting flip/whoops & rollbar/rollbar to Work Together in PHP 7

Both flip/whoops (Pretty PHP Handling) and rollbar (Online Error Logging) have a pushHandler() function, how can I get them both to handle an exception? I want it both logged online, and displayed ...
2
votes
1answer
166 views

Using Rollbar with Lumen 5.7

So, currently the two most popular (IMHO) rollbar packages for Lumen (not Laravel) are: https://github.com/rollbar/rollbar-php-laravel, and https://github.com/jenssegers/laravel-rollbar Given that ...
1
vote
0answers
109 views

Angular 6: setup rollbar to add user data in payload

I'm using Angular 6 and rollbar to log errors. I have created a rollbar-service file with the following contents import {Injectable, InjectionToken, Injector} from '@angular/core'; import * as ...
0
votes
0answers
99 views

Catch all unhandled rejection in angular.js

I'm developing Electron app with angularjs in the renderer process. I'm looking for a method to report all unpredicted errors to external service (rollbar in my case) and put some custom logic. ...
0
votes
1answer
34 views

How send mail in laravel and RollbarNotifier

I develop a laravel app and I want to automatically send emails with remainder to users. I created command like in this article. But I get this error: [Illuminate\Contracts\Container\...
0
votes
0answers
103 views

Setup people tracking in rollbar with React js

I am setting up rollbar in my react js project. I have all the rollbar code in index.html which is working fine. People tracking is also working fine. But how can i set the user details after sign in ...
0
votes
0answers
15 views

How to create new card in Trello automatically when error is tracked in Rollbar?

I want to turn tracked errors from Rollbar into Trello. Im following this document guideline https://docs.rollbar.com/docs/trello Unfortunately, i stucked in 5th step which i couldnt find the button "...
0
votes
1answer
59 views

Django: Disable RollBar in Development

I'm using Rollbar for error tracking for my Django Application. For some reason, I'm getting errors from my localhost (in development). Settings.py: import rollbar import os THUMBNAIL_DEBUG = False ...
0
votes
0answers
42 views

Using Rollbar in ZF3

I'm trying to use Rollbar inside my Zend Framework 3 (ZF3) application. I know basic principles of service managers, however I have to admit that I'm not 100% familiar with the concept. Now I want to ...
1
vote
0answers
44 views

Ignoring specific errors in Rollbar based on substring

I have an issue where there are 3 different errors thrown. All 3 have a certain substring in their message which indicates for me that I should ignore it. For Example: E_type1::UpdateError E_type2::...
0
votes
1answer
205 views

rollbar django suddenly not working. AttributeError: module 'lib' has no attribute 'X509_up_ref'

My rollbar suddenly does not work on my django python app. It was working previously until i merge something. it looks more like openssl issue? >>> import rollbar >>> rollbar.init('...
5
votes
4answers
939 views

How can I use Rails 5.2 credentials in capistrano's deploy.rb file?

I've just updated my Rails app to 5.2, and configured it to use the new config/credentials.yml.enc file. When I try to deploy, I get this error: NameError: uninitialized constant Rails /Users/me/...
0
votes
1answer
53 views

How to specify Person Function for Rollbar logger in Symfony 4?

In configuring the Rollbar Monolog configuration, one of the options that can be set is the person_fn function. That configuration Rollbar is expecting to be some sort of "callable", which when called ...
0
votes
0answers
49 views

How can I use rollbar in an NPM package + source maps?

I'm trying to use rollbar in an npm package that will be used as a dependency in other projects. However, the errors I get are not showing up nicely on rollbar. Strangely enough, when I run a sample ...
1
vote
1answer
164 views

Yii2 Custom Error Handler for Rollbar - Errors should not be displayed in browser

I need to create a custom error handler by extending rollbar error handler that should always handle fatal errors, but handle notice errors only if we are in debug mode. In production mode, all notice ...
1
vote
1answer
267 views

Rollbar ignore ActiveRecord::RecordNotFound exceptions

I would like Rollbar to ignore uncaught exceptions ActiveRecord::RecordNotFound to save request pool in our plan. I did what they say in documentation: config.exception_level_filters.merge!({ "...
0
votes
2answers
832 views

RuntimeError: can't modify frozen Array (Rollbar, Rails 5.1 upgrade)

Unable to use rspec and rollbar after upgrading to rails 5. Create a Rails 4 app Upgrade gemfile to use rails 5 Try adding rollbar gem/support Standard config/environment.rb: # Load the Rails ...
1
vote
1answer
169 views

Is there a way to exclude warnings to be reported in Rollbar for Ruby?

Using the Rollbar gem I receive a lot of warnings which consume my event credits, can I exclude them from being reported?
35
votes
1answer
10k views

ResizeObserver - loop limit exceeded

About two months ago we started using Rollbar to notify us of various errors in our Web App. Ever since then we have been getting the occasional error: ResizeObserver loop limit exceeded The thing ...
1
vote
0answers
44 views

How do I mark direct use of a superclasses method as an error while still allowing them to be used by subclasses?

It's worth noting that this question is primarily a theoretical one. I suspect the real answer is 'just be careful not to do this!' and move on. That said, it would be awesome if there were a way to ...
0
votes
0answers
32 views

Rollbar causing Heroku Node app to crash with throw new TypeError(`Expected a string, got “${typeof value}”`);

I'm trying to deploy a node app to Heroku, but something related to the request-ip dependency of Rollbar is causing the app to crash. The error message is: throw new TypeError(`Expected a string, ...
1
vote
0answers
90 views

Rollbar and celery causing crash onrunning django project

I'm trying to debug a problematic error which occurs when I'm trying to launch django project in which I'm using (among others) celery and rollbar. The problem occurs when I change logging level for ...
0
votes
1answer
225 views

Using Pod dependencies in custom cocoapod framework getting “use of undeclared type”

I've added Rollbar as a dependency to my cocoapod. In my podspec I have: s.dependency 'Rollbar' Building and running the app that includes my cocoapod as a dependency works fine, but if I open my ...
2
votes
1answer
168 views

webpack sourcemaps missing names section

I'm using webpack to automatically generate my sourcemaps and all seems to work find. However the [names] section of the sourcemap seems to be missing. Chrome doesn't have an issue with it, but ...
5
votes
1answer
110 views

Intermittent “Not a Product” Javascript Error

We have a website (.Net / jquery / Bootstrap 4), using Rollbar to log Javascript errors. Rollbar is logging an intermittent Javascript error with the message "Not a Product." For the trace, it only ...
1
vote
1answer
211 views

InvalidAddressError: invalid address when testing rollbar setup

I just setup rollbar within my rails app using the rollbar gem, but when running the rake task to test my setup it gives me this error (backtrace appended below). Started GET "/verify" for at 2017-...
0
votes
0answers
71 views

Rollbar instantiation returns null in Angular 2

I am trying to integrate Rollbar in Angular2 and following the example they have on their website. But when I run npm start it gives me the following error here is the code in app.module.ts ...
0
votes
1answer
92 views

What's the client.javascript.plugins for Rollbar payload?

I am checking actual Rollber payload data from the browser comes. I had checked the official document before. however, it has some unknown data like below. API Reference - Items (POST) Payload ...
0
votes
1answer
60 views

Ignore rollbar errors from specific environments that are rarely deployed to

I've been trying to reduce the number of irrelevant rollbar errors, such as legitimate users trying to access non-existent images, or malicious bots trying to hack our website by going to /phpMyAdmin2/...
2
votes
1answer
181 views

Rollbar Error processing the item: Net::OpenTimeout, execution expired

I hope is not a duplicated question, but I haven't been able to find anything. I used to include Rollbar as standard error-tracking tool in my projects. I'm using it succesfully in various different ...
17
votes
1answer
279 views

ActionCable server response times on Heroku

I've implemented a real-time chat system using ActionCable. It works, but I keep getting exception notices from Rollbar for the /cable endpoint in production (Heroku). 2017-07-18T15:36:54.738588+00:...
0
votes
1answer
282 views

how to call a class in “vendor” directory from a class in “webroot” directory - Cakephp

i'm new in cakephp, i want to use some methods (implemented in a class existing in vendor directory, i get it with composer) in an extern class (existing in webroot directory). I tried to use : use ...
0
votes
1answer
106 views

integrate rollbar to my Cakephp project

i wan't to integrate Rollbar to my cakephp project but i dont know where to include the code referencing to rolbar in my app ? i have use this code <?php use \Rollbar\Rollbar; // Installs ...
1
vote
0answers
144 views

Rollbar integration with Capistrano

I am currently using capistrano as a deployment tool and want to integrate rollbar so I can track my deployments. There installation instructions are simple Capistrano 3 Add to your Gemfile: gem '...