Skip to content

User is presented with **Arcane error** when path to app does not exist #1030

@tjarratt

Description

@tjarratt

If I attempt to push, say, a java app to Cloud Foundry and my jar doesn't exist, I get a pretty arcane error about the lstat system call, which isn't too helpful. Admittedly I do personally know about this and how one looks up files in Go, but I suspect a lot of people do not.

./gradlew clean
echo WHOOPS I ACCIDENTALLY ALL THE JARS
cf push MySpecialApp -p build/libs/my-service-0.1.1.jar
Updating app MySpecialApp in org My-Special-Org / space My-Special-Space as tjarratt...
OK

FAILED
Error processing app files: lstat /Users/pivotal/workspace/my-special-service/build/libs/my-special-service-0.1.1.jar: no such file or directory

Something nicer about the files not existing would be pretty helpful.

I would propose


./gradlew clean
echo WHOOPS I ACCIDENTALLY ALL THE JARS
cf push MySpecialApp -p build/libs/my-service-0.1.1.jar
Updating app MySpecialApp in org My-Special-Org / space My-Special-Space as tjarratt...
OK

FAILED
Error processing app files: my-special-service-0.1.1.jar ***does not exist***

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions