brew install ignore errors code example
Example 1: sentry ignore errors
// List of errors you want to ignore
Sentry.init({
dsn: "sentry_dsn",
ignoreErrors: [
'TypeError: Failed to fetch',
'TypeError: NetworkError when attempting to fetch resource.',
'TypeError: Cancelled',
'TypeError: cancelado',
],
});
Example 2: linux du suppress errors
du -cBM --max-depth=1 2> >(grep -v 'Permission denied') | sort -n