taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
269 stars 162 forks source link

Internal servers error (HTTP500) is silently ignored #277

Closed JeP42 closed 6 years ago

JeP42 commented 7 years ago

For the case that an internal server error occured while processing the request, this error is silently ignored. An exception (RedmineException) would be nice in such a situation so that clients are able to implement proper error handling.

Maybecom.taskadapter.redmineapi.internal.comm.redmine.RedmineErrorHandler would be the right place to implement handling for HTTP-5x responses.

alexeyOnGitHub commented 7 years ago

you are welcome to provide a patch for this, including tests. I would be happy to review and merge as long as coding standards are met and proper tests are included.