Comments (3)
另外,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.
Fixed.
from sad.
后台错误处理已正常
from sad.
Related Issues (6)
- 刚注册未通过审核仍然可以预约 HOT 1
- 后台:医生管理点击后会跳转到登陆页面 HOT 1
- 关于挂号费 HOT 1
- 时区问题 HOT 1
- 医院数据添加江苏、湖北、浙江的 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sad.