Error handling for local tiled layer load failure

Added error handling in case local tiled layer fails to load.