recordexpungPDX icon indicating copy to clipboard operation
recordexpungPDX copied to clipboard

Update error methods in the crawler

Open NickSchimek opened this issue 5 years ago • 1 comments

The parsers have methods that will run when an error is encountered. These methods need to be implemented so that when an error does occur the user and the dev team can be notified appropriately.

Files to be updated:

  • [ ] Node Parser https://github.com/codeforpdx/recordexpungPDX/blob/master/src/backend/expungeservice/crawler/parsers/node_parser.py#L16
  • [ ] Param Parser https://github.com/codeforpdx/recordexpungPDX/blob/master/src/backend/expungeservice/crawler/parsers/param_parser.py#L34
  • [ ] Record Parser https://github.com/codeforpdx/recordexpungPDX/blob/master/src/backend/expungeservice/crawler/parsers/record_parser.py#L53

This is done when...

  • The methods are updated so that it logs the error
  • And the methods raise the error so that the user can be notified of the issue

NickSchimek avatar Nov 28 '18 20:11 NickSchimek

@cameron2018 This issue should not be closed. It needs to be completed at some point in the future.

NickSchimek avatar Nov 29 '18 04:11 NickSchimek