porting-assistant-dotnet-ui
porting-assistant-dotnet-ui copied to clipboard
feat: messaging for common errors
Description of changes: Add function to scan log file for common errors and report to customer in flash bar.
Checks for these messages:
- Missing MSBuild Path
- Unauthorized Access Exception
- Duplicate Packages in package.json
Testing done: Add unit test that scans test file for errors. Manual testing in UI by adding error lines from previous on-call into back-end log.
Merge Checklist
Put an x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General
- [x] I have read the CONTRIBUTING doc
- [x] I used the commit message format described in CONTRIBUTING
- [x] I have updated any necessary documentation, including READMEs and comments (where appropriate)
Tests
- [x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
- [x] I have checked that my tests are not configured for a specific environment
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.