Giter VIP home page Giter VIP logo

Comments (3)

renfeisong avatar renfeisong commented on August 12, 2024

另外,business服务器给出提示{"code":"3011","message":"You have already had one appointment at that period for the same department"}的同时也会崩溃(不过又自动重启了,因此看不出来)。崩溃信息如下:

Sun, 21 Dec 2014 17:12:29 GMT business Uncaught exception occurred
Sun, 21 Dec 2014 17:12:29 GMT business Request :
Sun, 21 Dec 2014 17:12:29 GMT business  Headers : { 'content-type': 'application/x-www-form-urlencoded',
  host: 'localhost:3001',
  connection: 'keep-alive',
  'transfer-encoding': 'chunked' }
Sun, 21 Dec 2014 17:12:29 GMT business  Url : /user/reservation/add
Sun, 21 Dec 2014 17:12:29 GMT business  Method : POST
Sun, 21 Dec 2014 17:12:29 GMT business Error:  { [Error: Can't set headers after they are sent.]
  domain: 
   { domain: null,
     _events: { error: [Function: onError] },
     _maxListeners: 10,
     members: [ [Object], [Object] ] },
  domainThrown: true }
Sun, 21 Dec 2014 17:12:29 GMT business Route:  { methods: [ 'POST' ],
  name: 'postuserreservationadd',
  params: {},
  spec: 
   { path: '/user/reservation/add',
     method: 'POST',
     versions: [],
     name: 'postuserreservationadd' } }

/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/mysql/lib/protocol/Parser.js:82
        throw err;
              ^
Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (http.js:689:11)
    at ServerResponse.format (/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/restify/lib/response.js:95:10)
    at ServerResponse.send (/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/restify/lib/response.js:205:24)
    at ServerResponse.json (/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/restify/lib/response.js:139:18)
    at /Users/renfei/Documents/Projects/SAD/base/BusinessServer/controllers/reservation.js:149:45
    at createNext (/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/orm/lib/Model.js:565:12)
    at /Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/orm/lib/Model.js:587:6
    at /Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/orm/lib/Instance.js:612:12
    at Instance.saveInstanceExtra (/Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/orm/lib/Instance.js:334:19)
    at /Users/renfei/Documents/Projects/SAD/base/BusinessServer/node_modules/orm/lib/Instance.js:183:5
worker 14240 died

@buaayz 看一下

from sad.

qinbingchen avatar qinbingchen commented on August 12, 2024

Fixed.

from sad.

FlyingBlazer avatar FlyingBlazer commented on August 12, 2024

后台错误处理已正常

from sad.

Related Issues (6)

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.