Removed extraneous error_message in layer detail page