 # @option query [function] onError
 exports.handle = (query) ->
 	eventId = _getEventId(query.url)
-	if @canHandle(query.url) and eventId 
+	if canHandle(query.url) and eventId 
 		query.eventId = eventId
 		_getEvent(query)
-
+		return true
 	else
-		query.onError
-			error: new Error("Could not get handle query url (#{query.url})")
-			module: 'facebook'
+		return false
 
 # if exports.canHandle 'https://www.facebook.com/events/344493149083407/'
 # 	exports.handle 

# Check if this is a Facebook event url
# @param [string] url
# @return [boolean] canHandle
exports.canHandle = (url) ->
	if url.match(/facebook.com\//) and _getEventId(url)
		return true
	return false

					error: res.error
					module: 'facebook'
			else

				db.set 
					events: [
						title: res.name
						#description: res.description
						source: query.url
						date: new Date(res.start_time).getTime()
						location: ''
					]
					onSuccess: query.onSuccess
					onError: query.onError

# Import and url
# @param [object] query
