Skip to content

Cloudfoundry-maven-plugin: Provide better error messages when incorrect Url parameters are used #1

@ghillert

Description

@ghillert

Currently we provide the following error message when an incorrect url parameter is used. This needs to be refined, providing better guidance to the user on how to fix the issue, e.g. incl. the value of the used Url parameter in the error message.

Sep 26, 2011 10:14:26 AM org.springframework.web.client.RestTemplate handleResponseError
WARNING: GET request for "http://api.cloudfoundry.com/apps/hello-java2" resulted in 404 (Not Found); invoking error handler
Sep 26, 2011 10:14:26 AM org.springframework.web.client.RestTemplate handleResponseError
WARNING: POST request for "http://api.cloudfoundry.com/apps" resulted in 403 (Forbidden); invoking error handler
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.864s
[INFO] Finished at: Mon Sep 26 10:14:26 EDT 2011
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.cloudfoundry:cf-maven-plugin:1.0.0.BUILD-SNAPSHOT:push (default-cli) on project hello-java2: Error while creating application 'hello-java2'. Error message: '403 Forbidden'. Description: 'External URIs are not enabled for this account' -> [Help 1]
[ERROR] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions