Giter Site home page Giter Site logo

catchtheshow's Introduction

๐ŸŽ๐Ÿš€ ๐™ƒ๐™ž! ๐™„๐™ข ๐™‹๐™ง๐™–๐™ฃ๐™–๐™ฃ๐™จ๐™, ๐™– ๐™›๐™ช๐™ก๐™ก๐™จ๐™ฉ๐™–๐™˜๐™  ๐™™๐™š๐™ซ๐™š๐™ก๐™ค๐™ฅ๐™š๐™ง ๐Ÿ’˜๐ŸŽ


UฬณwUฬณ


*~ ๐Ÿง Kแ‘ŽOแ—ฏแ’ชEแ—ชGE ๐Ÿ“š ~*










*~ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ†‚Oแ‘•Iแ—ฉแ’ช๐Ÿ†‚ ๐Ÿ“ฃ ~*








catchtheshow's People

Contributors

pranansh-s avatar srejonkhan avatar

Stargazers

 avatar

Watchers

 avatar

catchtheshow's Issues

Server Crash when invalid ID is provided for information lookup

When the user hits request at catchtheshow.herokuapp.com/api/:id with a wrong/invalid id of a show, the server crash most of the time, and the service become unavailable.

It throws this error in my local machine -

node:_http_outgoing:576
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:372:5)
    at ServerResponse.setHeader (node:_http_outgoing:576:11)
    at ServerResponse.header (catchTheShow\node_modules\express\lib\response.js:771:10)
    at ServerResponse.contentType (catchTheShow\node_modules\express\lib\response.js:599:15)
    at Request._callback (catchTheShow\api\webScraper.js:140:9)
    at Request.self.callback (catchTheShow\node_modules\request\request.js:185:22)
    at Request.emit (node:events:527:28)
    at Request.<anonymous> (catchTheShow\node_modules\request\request.js:1154:10)
    at Request.emit (node:events:527:28)
    at IncomingMessage.<anonymous> (catchTheShow\node_modules\request\request.js:1076:12) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.