Improved error handling on server start