mozilla / telemetry-server

Server for the Mozilla Telemetry project
Other
41 stars 35 forks source link

Handle validation errors in job fields. #136

Closed mreid-moz closed 8 years ago

mreid-moz commented 8 years ago

If 'timeout' or 'visibility' failed to parse, those variables were not properly assigned, leading to an exception. Now we only construct the 'job' dict if we did not encounter any errors (and hence avoid said exception.

STR from before: enter '1500' as the job timeout minutes :(

mreid-moz commented 8 years ago

low-priority r? @vitillo

vitillo commented 8 years ago

r+