Fail with TaskotronConfigError on YAML errors
ClosedPublic

Authored by mkrizek on Mar 31 2016, 10:56 AM.

Details

Test Plan

Tried running a task. Also manually checked that YAMLError catches both ParserError and ScannerError. Worked.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mkrizek retitled this revision from to Fail with TaskotronConfigError on YAML errors.Mar 31 2016, 10:56 AM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal.

Can you amend the docstring? And perhaps a unit test or two, to verify that we catch exceptions when parsing % or :?

mkrizek updated this revision to Diff 2040.Mar 31 2016, 12:25 PM

Unittests

tflink accepted this revision.Apr 1 2016, 1:47 PM
This revision is now accepted and ready to land.Apr 1 2016, 1:47 PM
This revision was automatically updated to reflect the committed changes.