Better 500 errors management.