Implement error checking on server side compilation

The error logger will now leave a message if something went wrong during the compilation process of less resource.