Improved the error management in the egine server