Managing .less compiling errors

try-catch for .less compiling errors