Questions tagged [rollbar]
Full-stack error tracking system available for any language.
119
questions
0
votes
0
answers
22
views
Delayed::Job hooks and deliver_later
In the README, under Rails Mailers (https://github.com/collectiveidea/delayed_job/#rails-mailers), it states
You may also wish to consider using Active Job with Action Mailer which provides ...
0
votes
0
answers
23
views
Add metadata to Rollbar log appender in Spring Boot
How can I add metadata or custom fields to an XML based Logback configuration in a Spring Boot project so that they are visible in Rollbar's web ui?
This is what I have added to the logback-spring.xml ...
0
votes
1
answer
40
views
Is there a way to retrieve the created Rollbar item when logging an error on C#?
I want to add a Rollbar link to the errors returned by my Rollbar middleware for my dev environment.
Currently, I'm using a very simple Rollbar logging system
var ret = RollbarLocator.RollbarInstance....
0
votes
0
answers
42
views
How to upload sourcemaps from NuxtJS to Rollbar
Introduction
Hey, I am trying to upload the sourcemaps generated from webpack to Rollbar.
I am using nuxt-rollbar-module inside the modules key to log the errors:
[
'nuxt-rollbar-module',
{...
0
votes
1
answer
110
views
How to debug `Job arguments to Rollbar::Delay::Sidekiq do not serialize to JSON safely` warning from Sidekiq?
I have the following log from my ruby on rails app.
- NoMethodError (undefined method `encode` for nil:NilClass
- redirect_to "/post_message#token=#{@secret.encode(token)}"
- ...
0
votes
1
answer
28
views
Why Rollbar does not send Code Version info when Infrastructure is used?
I've setup Rollbar infrastructure for Blazor Server app following the docs.
builder.Services.AddRollbarLogger(loggerOptions =>
{
loggerOptions.Filter =
(loggerName, loglevel) => ...
0
votes
0
answers
52
views
How to configure JsonSerializer for RollbarConfiguration of Spring Boot?
I added rollbar configuration to my spring boot application but after adding rollbar then my LocalDateTime format is broken. Here is my config file for rollbar:
@Configuration()
@EnableWebMvc
@...
0
votes
1
answer
137
views
How do I generate a sourcemap for an inline script inside of a html file?
I have a html file that has scripts inline that modifies how the html looks like:
/* html code */
<script type=module>
document.getElementsByClassName('test')[0]....
// some other code
</...
1
vote
1
answer
368
views
How to implement Rollbar SDK using Vue 3?
I am trying to figure out the right way to implement the rollbar SDK in Vue 3 using the composition API and typescript. According to the docs they are implementing it with Vue.prototype.$rollbar (as ...
1
vote
2
answers
604
views
How to use RQL to query rollbar to group by time period?
How do I construct an RQL statement that will count errors by, say, day. This gets the number of errors over a seven day period, but how do I count per day?
SELECT count(*)
FROM item_occurrence
WHERE ...
1
vote
1
answer
621
views
Preventing the same errors from being sent to the rollbar many times
The same errors for my Javascript application are repeatedly sent to the rollbar. Is there a way to prevent the same errors from being sent after a certain limit?
1
vote
0
answers
88
views
How to add sourcemaps to rollbar? Angular 8
I've just added rollbar to my project and need to add sourcemaps, I can see where to add them in the control panel but unsure of the best way to produce them from Angular 8.
Any tips out there?
3
votes
0
answers
691
views
Next.js custom error page doesn't work using vercel deployment
I'm trying to create a custom error page that will record any error to rollbar like error boundary in server side next.js
I'm following this tutorial for the _error.js https://maxschmitt.me/posts/...
2
votes
1
answer
427
views
How implement deploy tracking on Next.js without a custom server?
I'm working on a Next.js project and we're running it WITHOUT the custom server, using the next build + next start.
On the backend, when a new version is deployed and starts to run, we send a log to a ...
1
vote
1
answer
343
views
Nuxt: How to access store in rollbar.js WITHOUT using localStorage?
I am using Nuxt and Rollbar. I have a user id state in store.
My question is, how can I set this user id as a custom payload in the transformer function in rollbar.js WITHOUT using localStorage?
Here ...
1
vote
1
answer
228
views
How to receive notifications based on affected person in Rollbar
I'm wondering if there's an appropriate way to receive notifications (email, slack, or even a sound notification, etc...) whenever a Rollbar error is created for a very specific Affected Person/People....
0
votes
1
answer
816
views
Rollbar is not seen by Laravel 8.0
I have installed the Rollbar 7.0 into Laravel 8.0. PHP version is 7.4
I am trying to send a test exception message using a simple Console command but that sends me nothing.
My configs are the ...
0
votes
1
answer
480
views
Rollbar logs not working in .Net(core) 5.0
I have .Net core 5.0 api and I'm trying to add logs but somehow its not working. below is my setup.
public void ConfigureServices(IServiceCollection services)
{
...
4
votes
1
answer
1k
views
What does it mean when an unhandledrejection event does not contain a reason field?
Client side errors for our app get tracked via Rollbar. We keep getting this error which is not very useful from Safari and Chrome:
[unhandledrejection] error getting `reason` from event
I traced ...
0
votes
1
answer
179
views
Rollbar .NET API: How to wait until all pending async messages have completed?
I have a .NET console application that uses the official Rollbar .NET API to post log messages to Rollbar asynchronously. The C# code used to send each message looks like:
RollbarLocator....
1
vote
1
answer
1k
views
Rollbar and typescript
I'm stucked using rollbar with typescript, and their documentation is as poor as the aws one.
I'm trying to build a reusable package, based on rollbar, and written with the latest TS version (4.2.4 as ...
0
votes
1
answer
618
views
How can I set an environment variable before each build on heroku?
I have a create-react-app and I need an automated way to set an different environment variables before each build.
My goal is to set a code_version for Rollbar.
I tried the following:
"heroku-...
1
vote
1
answer
1k
views
Jenkins - shell script - find parameter format not correct
hope one of you can help - I'm running a script in jenkins pipeline, so that I can upload source maps to rollbar, so I need to loop through the minified js files - I'm trying to do this with the FIND ...
1
vote
2
answers
394
views
Ionic Angular error log differs between Android & iOS ( Cordova ) and cannot build stack trace on Rollbar for iOS
Is there a reason why console.error(error) (more precisely the error.message value) differs between iOS and Android in Ionic Angular app (cordova) ?
I wrote these lines to get an exception:
const a = ...
1
vote
1
answer
247
views
Unable to transform Angular v9's JavaScript error stack trace from its minified form on RollBar in local environment
Just a little background about our app, we have been running our Angular frontend inside the docker container and have a shell script that is responsible to set the environment variables and build the ...
-2
votes
1
answer
323
views
How to log to rollbar
There is a sample Go code on the rollbar.com web site which is supposed to illustrate how log items are supposed to be sent to Rollbar:
package main
import (
"github.com/rollbar/rollbar-go"
)
...
1
vote
1
answer
224
views
Filter event by message in Logback Spring Rollbar Appender
I have configured my Rollbar Appender in logback-spring.xml:
<appender name="Rollbar" class="com.rollbar.logback.RollbarAppender">
<accessToken>${ROLLBAR_TOKEN}</accessToken>
...
-1
votes
1
answer
86
views
How to use Rollbar.com with in Crystal Lang
I would like to use rollbar.com in my Crystal project.
I can not find crystal integration with rollbar.com or any other error trackers.
Is there a shard for the Rollbar or similar services (error ...
2
votes
2
answers
1k
views
How to ignore 404 exceptions in Rollbar?
I'm using Rollbar in a Django 1.11.9 app (Python 2.7) and I'm trying without success to configure it to ignore 404 exceptions.
I've checked Rollbar docs for Python and noticed I'm already using the ...
0
votes
1
answer
147
views
Rollbar People tracking Angular 7
I would like to get advantage of the people tracking feature for my rollbar Angular 7 integration.
In the doc I found this DOC but I don't understand what/where I have to do to add this 'person ...
1
vote
1
answer
50
views
Can we monitor a host in rollbar?
I have been using Rollbar and it helps us diagnose production problems. I would like to have an alarm (email or slack) that notifies me if a host is not logging any thing in 24 hours. That tells me ...
0
votes
2
answers
343
views
Adding Rollbar in a Heroku application without the Rollbar Heroku add-on
I am trying to add rollbar to my python flask application in Heroku.
Pipfile
Rollbar = "~=0.14.7"
app.py
import rollbar
rollbar_api_key = os.environ['ROLLBAR_API_KEY']
rollbar.init(...
1
vote
1
answer
160
views
How to use Rollbar.js in Firefox Extension
I'm trying to implement rollbar.js to Firefox extentsion. However, there is no possibility to load it within "rollbar snippet" - it loads .js file from cdn - that's not allowed in Firefox addons.
So ...
2
votes
1
answer
679
views
RSpec test Rollbar called in method where error is raised
I'm able to test that Rollbar.warning has been called, but when it is called in a method that also raises an error, it fails because an error is raised, and it skips Rollbar.warning.
context '...
0
votes
1
answer
342
views
Rollbar not globally handling errors at .NET Core 2.2 api project
I have set up Rollbar in my .NET Core 2.2 api project just like it described in official docs. But i can not get the middleware work. Explicitly sending error/information works fine. But when there is ...
1
vote
1
answer
152
views
Logging a message in Rollbar makes php error disappear
I use Rollbar error monitoring and I get an error:
ErrorException: Undefined offset: 1
I can't really pin down the location of the error because it happens in the compiled code:
File /var/www/...
1
vote
1
answer
317
views
Rollbar 413 when using Node, but not when using curl
I'm trying to upload the sourcemap to Rollbar. Using curl this works fine:
curl https://api.rollbar.com/api/1/sourcemap \
-F access_token=${ACCESS_TOKEN} \
-F version=${VERSION} \
...
0
votes
1
answer
576
views
How to track errors in the react-admin dataProvider
I've installed Rollbar, a bug tracker, into my react-admin app and it works great for uncaught errors, but errors thrown by the dataProvider are not being sent to Rollbar.
I think errors thrown by ...
2
votes
0
answers
205
views
How can I add person to Rollbar globally in .NET Core 2.1 from IdentityUser
I do not know how add person to RollBar globally from IdentityUser.
This is my all Rollbar configuration in Startup.cs. I need help. Thanks for any help.
Startup.cs
public void ConfigureServices(...
2
votes
1
answer
2k
views
How to mock third party library using jest
I am developing a node.js application using nestjs
I have a class called LoggerService as below
export class LoggerService {
private logger: Rollbar;
constructor() {
this.logger = ...
0
votes
0
answers
486
views
hiding access keys and tokens for client side JS libraries in Angular
For example, I am using Rollbar to track and log errors, and their JS documentation tells me to input the access token in the JS code. Anyone inspecting the source can find this token and call Rollbar ...
1
vote
0
answers
256
views
Best way of Integrating Rollbar with Spring Boot / jHipster?
I'm trying to integrate https://rollbar.com/ into a Jhipster Application.
In their documentation, they suggest to create a class like the following:
@ControllerAdvice
@EnableWebMvc
public class ...
-2
votes
1
answer
575
views
How to put a script and object in a HAML file
I am trying to add rollbar to a Rails application that uses React for the front-end. I need to place a script in my HAML file that will allow for rollbar configuration, however the script, and ...
6
votes
1
answer
2k
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
1
answer
474
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
1
answer
345
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
1
answer
609
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
1
answer
439
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
1
answer
305
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
1
answer
183
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%...