You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core)[OASIS-6054]: Change Error to LOG_LEVEL.WARNING for unfound event (#418)
## Summary
- Log a warning when an event key is not found in the datafile instead of throwing an Error
- Log a warning mentioning that user tracking is not happening
- Update actual error logger in catch to be an ERROR instead of INFO
- Updated CONTRIBUTING.md instructions with CHANGELOG.md update instructions
In a similar vein as optimizely/java-sdk#361, the JavaScript SDK noise could be more configurable for use with integrations like Segment.
_Note:_ Please pardon the prettier noise. I tried to do a prep PR in #419 but there are still changes when I save. The actual functionality changes are in 646665d.
## Test plan
- Updated unit test to cover new functionality
- Ensure other tests pass
## Issues
- [OASIS-6054](https://optimizely.atlassian.net/browse/OASIS-6054)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-12
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,22 @@ We welcome contributions and feedback! All contributors must sign our [Contribut
5
5
## Development process
6
6
7
7
1. Fork the repository and create your branch from master.
8
-
2. Please follow the [commit message guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines) for each commit message.
8
+
2. Please follow the [commit message guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines) for each commit message.
9
9
3. Make sure to add tests!
10
-
4. Run `npm run lint` to ensure there are no lint errors.
11
-
5.`git push` your changes to GitHub.
12
-
6. Open a PR from your fork into the master branch of the original repo
13
-
7. Make sure that all unit tests are passing and that there are no merge conflicts between your branch and `master`.
14
-
8. Open a pull request from `YOUR_NAME/branch_name` to `master`.
15
-
9. A repository maintainer will review your pull request and, if all goes well, squash and merge it!
10
+
4. Update relevant `CHANGELOG.md` if users should know about this change.
11
+
5. Run `npm run lint` to ensure there are no lint errors.
12
+
6.`git push` your changes to GitHub.
13
+
7. Open a PR from your fork into the master branch of the original repo
14
+
8. Make sure that all unit tests are passing and that there are no merge conflicts between your branch and `master`.
15
+
9. Open a pull request from `YOUR_NAME/branch_name` to `master`.
16
+
10. A repository maintainer will review your pull request and, if all goes well, squash and merge it!
16
17
17
18
## Pull request acceptance criteria
18
19
19
-
***All code must have test coverage.** We use Mocha's chai assertion library and Sinon. Changes in functionality should have accompanying unit tests. Bug fixes should have accompanying regression tests.
20
-
* Tests are located in the `tests.js` file.
21
-
* Please don't change the `package.json` or `VERSION`. We'll take care of bumping the version when we next release.
22
-
* Lint your code with our `npm run lint` before submitting.
20
+
-**All code must have test coverage.** We use Mocha's chai assertion library and Sinon. Changes in functionality should have accompanying unit tests. Bug fixes should have accompanying regression tests.
21
+
- Tests are located in the `tests.js` file.
22
+
- Please don't change the `package.json` or `VERSION`. We'll take care of bumping the version when we next release.
23
+
- Lint your code with our `npm run lint` before submitting.
23
24
24
25
## Style
25
26
@@ -45,7 +46,7 @@ All contributions are under the CLA mentioned above. For this project, Optimizel
45
46
* See the License for the specific language governing permissions and *
The YEAR above should be the year of the contribution. If work on the file has been done over multiple years, list each year in the section above. Example: Optimizely writes the file and releases it in 2014. No changes are made in 2015. Change made in 2016. YEAR should be “2014, 2016”.
0 commit comments