     changes.emit eventName, kite
     return
 
+  getPath = (query) ->
+    {
+      username = ''
+      environment = ''
+      name = ''
+      version = ''
+      region = ''
+      hostname = ''
+      id  = ''
+    } = query
+
+    "#{username}/#{environment}/#{name}/#{version}/#{region}/#{hostname}/#{id}"
+
   createKiteNotFoundError: (query) ->
-    { username, environment, name, version, region, hostname, id } = query
-    new KiteError "No kite found! query: #{
-      username    ? '' }/#{
-      environment ? '' }/#{
-      name        ? '' }/#{
-      version     ? '' }/#{
-      region      ? '' }/#{
-      hostname    ? '' }/#{
-      id          ? '' }"
+    new KiteError "No kite found for query: #{getPath query}"
 
   connect: -> @kite.connect()
 

  @actions      =
    REGISTER    : 'register'
    DEREGISTER  : 'deregister'



module.exports = class Kontrol extends Emitter

  @version = '1.0.0'

  @Kite = Kite

