victor/whereami — Issue #4: Location Exception Handling
Author: grouver
Created: 2012-02-03 14:41:33+00:00
State: open

On Lion, location services ask you to allow the usage of the service. Anyway not such a bit issue and there really isn't any way you can circumvent that.
The issue however is that if for whatever reason the location services are not allowing the coordinate report to proceed (like say you clicked on the wrong dialog button) you get an unhandled exception:

The operation couldn’t be completed. (kCLErrorDomain error 1.): (null)

It's and easy fix and all you need to do is set the program to exist in case of the error. Maybe you can add a notification message too. Sorry I can't write the patch code at the moment but I'll be away from anything that has xcode installed on it for the next week or so.