Check err that wasn't being checked
Check err that wasn't being checked

err was redeclared at the top of the if-statement

Signed-off-by: Taylor Silva <33b075afcd0610c62dcb82fe76b4c1adc69221da@pivotal.io>
Co-authored-by: Aidan Oldershaw <30ef7a6e0d016bc846f26d89dacbd23aceded206@pivotal.io>

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse