handle errors for uglify & node-sass