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

Fixed E_NOTICE: Undefined property: Rollbar\Defaults::$defaultGitBranch #378

Merged
merged 1 commit into from
Jun 17, 2018

Conversation

vilius-g
Copy link
Contributor

When 'allow_exec' is set to false, E_NOTICE errors are generated with every request due to $this->defaultGitBranch variable not being defined because of false condition.

This change implements more robust value caching that is used only when $allowExec parameter is set to true, which is a less suprising behavior.

When 'allow_exec' is set to false, E_NOTICE errors are generated with every request due to $this->defaultGitBranch variable not being defined because of false condition.

This change implements more robust value caching that is used only when $allowExec parameter is set to true, which is a less suprising behavior.
@vilius-g
Copy link
Contributor Author

Fixes #374

@ArturMoczulski ArturMoczulski merged commit 014c9b8 into rollbar:master Jun 17, 2018
@ArturMoczulski
Copy link
Contributor

This looks great. Thank you for PR and tests.

@vilius-g vilius-g deleted the fix-git-branch-notice branch January 18, 2023 21:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants