Error capture on attach in case no internet connection is available