question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature request: ignore sending errors coming from a certain operating sytem

See original GitHub issue

Essence and Description

I’d like to ignore errors coming from a certain operating systems. Preferably that the request won’t even be sent, to save a network call.

Implementation Suggestion

The same way Raven is acting with ignoreErrors, just something dedicated for operating systems. e.g. ignoreOS: []

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kamilogorekcommented, May 14, 2018

Sure, will do!

0reactions
kamilogorekcommented, Sep 24, 2018

@karensg

// integrations/iefilter.js

import { configureScope } from '@sentry/browser';

class IEFilter {
  install() {
    configureScope(scope => {
      scope.addEventProcessor(async (event) => {
        // Ignore IE 11, but gather Edge errors
        if !('ActiveXObject' in window) return null;
        return event;
      });
    });
  }
}

and then:

import IEFilter from './integrations/iefilter';

init({
  dsn: '__DSN__',
  integrations: [new IEFilter()]
})
Read more comments on GitHub >

github_iconTop Results From Across the Web

An error occurred when sending commands to the program in ...
SelectOK. This problem may occur if the Ignore other applications that use Dynamic Data Exchange (DDE) check box in Excel options is selected....
Read more >
HTTP/1.1: Status Code Definitions
Unexpected 1xx status responses MAY be ignored by a user agent. ... The server MUST send a final response after the request has...
Read more >
10 Ways to Fix the NET::ERR_CERT_DATE_INVALID Error
The NET::ERR_CERT_DATE_INVALID error occurs when browsers don't trust the reliability of a site's SSL certificate. Here's how to fix it.
Read more >
Error handling and automatic retries in AWS Lambda
You can retry, send the event to a queue for debugging, or ignore the error. Your function's code might have run completely, partially,...
Read more >
MediaDevices.getUserMedia() - Web APIs | MDN
The following requests both audio and video without any specific ... a hardware error occurred at the operating system, browser, or Web page ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found