Improved error reporting. Removed unused variable.
Improved error reporting. Removed unused variable.

rcarrillopadron/Library,cofactordigital/Library,alastairtree/Library,josh3ennett/Library,matt40k/Library,devIceMan/Library,alastairtree/Library,timorzadir/Library,timorzadir/Library,clain23/Library,Parametric/OctopusDeployCommunityLibrary,clain23/Library,Parametric/OctopusDeployCommunityLibrary,matt40k/Library,anthonyvscode/Library,alastairtree/Library,rcarrillopadron/Library,cofactordigital/Library,devIceMan/Library,kburdett/Library,anthonyvscode/Library,johannesvaltonen/Library,red-gate/Library,kburdett/Library,josh3ennett/Library,gregjhogan/Library,gregjhogan/Library,timhunt303/Library,red-gate/Library,Parametric/OctopusDeployCommunityLibrary,timhunt303/Library,johannesvaltonen/Library