Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkIgnore doesn't pass parameters #151

Closed
bretto36 opened this issue May 4, 2017 · 0 comments
Closed

checkIgnore doesn't pass parameters #151

bretto36 opened this issue May 4, 2017 · 0 comments

Comments

@bretto36
Copy link

bretto36 commented May 4, 2017

https://github.com/rollbar/rollbar-php/blob/master/src/Config.php#L292

I'm trying to implement checkIgnore on 1.0.1 and i am getting warnings about missing paramaters

My config entry

checkIgnore' => function ($isUncaught, $exception, $payload) {
                print_r($exception);
                return false;
}

I don't see where this is passing any parameters? The documentation says it should be passing 3 parameters
```
if (isset($this->checkIgnore) && call_user_func($this->checkIgnore)) {
return true;
}

@rokob rokob closed this as completed in 67c1fbf May 8, 2017
rokob added a commit that referenced this issue May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant