Skip to content

Custom error messages are overwritten by IIS #56

Open

Description

@yarick123

Hello,

using code like this:

const app = require('express')();
app.use(function (req, res) {
    res.sendStatus(502, "engine mismatch error");
});
app.listen(port);

from node under iisnode, custom error message "engine mismatch error" is overwritten with "Bad Gateway" by IIS. The solution of the problem is in the pull request #39 , thank you Michael Parque (@mparq) !

Could be this pull request please be merged into the main stream?

Regards
yarick123

Activity

  1. yarick123 commented on Jan 21, 2020

    @yarick123
    Author

    Hmmm, it seems that MS has no mood to improve one of the central components of the azure nodejs appservices ecosystem. It is a pity.

    As far as I see, the last change in the master branch was 16 months ago, it was a change in Readme.md. The last code change was at Jan 17, 2018, two years ago. It came directly after a commit at... Feb 21, 2017, one more year ago. The branch "iisnode-dev" was changed 4 years ago.

    So, the dynamic is far from inspiring. There are no development, no improvements, no pull requests applying.

    I have to take a look at AWS. Maybe the things are going there better.

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

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