More defensive programming: error at server side contained