-
Notifications
You must be signed in to change notification settings - Fork 150
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
Handle failed tomcat war deployment (status OK but body FAIL) #27
base: trunk
Are you sure you want to change the base?
Conversation
tomcatHttpStatusError = Tomcat a retourn\u00E9 un code HTTP en erreur: {0}, raison: {1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that wrong? As far as I know French always puts a space before the colon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct. I just added the space.
tomcatHttpStatusError = Tomcat a retourn\u00E9 un code HTTP en erreur : {0}, raison: {1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
raison is missing the trailing space too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@michael-o do you think I should add tests ? this is a basic feat. thx for the review |
Absolutely, if you think you can! Don't forget to squash your commits! |
@olamy @michael-o Are there any plans to release new version of this plugin? |
Wow, I completely forgot this. Will have a look later. |
per http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html a failed deploy will trigger a body with status code 200 but with body response starting with FAIL (i18n)
this patch adds the FAIL body response handler for en/fr languages
unsure if tests are really needed (?)