Updated for grunt > 0.4
catching "`catch err` but err was UNDEFINED!