Added list layer process and more detailed error message