           .then (response) ->
             if response.code is 201
               log 'Package created successfully'.green
-          , (error) ->
-            if error.code is 409
-              log 'The package already exists. Use --force to override it'.red
-              # todo: delete package
-            else
-              log 'Cannot create the package, server code:'.red, error.code or error
-            die 1
+          , error
 
       when 'delete'
 

                  log pkg.name
              else
                log 'Packages not found'.red
          , (error) -> 
            if error.code is 404
              log 'Repository not found'.red
            else
              log 'Error while trying to get the resource, server code:'.red, error.code or error
            die 1

      when 'get'


                log '%s %s [%s/%s] %s', data.name, data.latest_version or '(no version)', data.owner, data.repo, data.desc
              else
                log 'Package not found'.red
          , error

      when 'create'
          
