fix error logging
fix error logging

winkapp/node-static,Slayer95/node-static,brodybits/node-static,cloudhead/node-static,hayashi311/node-static,janmonschke/node-static,hayksaakian/static_striationnutrition,edpaget/node-static,lucasconstantino/node-static