catch exception from location service