Display error message to user if exception in querying

Nice!