Add less compilation error info

While getting error in less compilation, emit end and display error info in console