Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-friendly error messages #75

Open
aramalipoor opened this issue Sep 6, 2015 · 2 comments
Open

User-friendly error messages #75

aramalipoor opened this issue Sep 6, 2015 · 2 comments

Comments

@aramalipoor
Copy link
Contributor

In some situations the error shown to the user is not very explanatory.

Some that I've faced are as follows:

  • When a box name already exists: Error 1062: Duplicate entry 'myapp' for key 'name'.
    Can be: Box with name 'myapp' already exists.
  • When a box with provided name does not exists: Unexpected response from Farmer server. (record not found).
    Can be: Cannot find box 'myapp'.
  • When deploying fails because of status script exit: Exited with code 1
    Can be: Failed to deploy revision Automatic ubuntu/trusty64 box url #2 on box myapp. Exit code is 1.
@aramalipoor aramalipoor added this to the v0.2 milestone Sep 6, 2015
@majidgolshadi
Copy link
Member

Farmer doesn't have statistic and log system yet.
I think we will cheange these messages to firendly ones when we add log feature in v0.4 mileston.
This need add more layers to handle error in Farmer.

@majidgolshadi majidgolshadi removed this from the v0.2 milestone Sep 9, 2015
@aramalipoor
Copy link
Contributor Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants