How to prevent Glitch from injecting error codes into my web response stream?

I hit a weird quirk today building out a web server in glitch— It seems like in addition to the web response that my server is sending, something else is adding an additional error response. We can see the issue pictured here:

(as seen at

We see both the web response sent by my app (Hi from Rust), and then in addition to that we have a ‘failed to start application…’ tagline appended to the response. The application definitely started, though… It’s alive and responding.

Hello, Jude, this is indeed a little weird (to say the least). It also appears to be intermittent. I’ll take a closer look and see if I can pin down why this is getting inserted into your response.

1 Like