🎨 Minor style update

dependabot/npm_and_yarn/mixin-deep-1.3.2
jysperm 7 years ago
parent 1071bcc40e
commit a94072fe1b
  1. 1
      app.js
  2. 5
      server.js

@ -1,4 +1,5 @@
'use strict';
var express = require('express');
var timeout = require('connect-timeout');
var path = require('path');

@ -1,4 +1,5 @@
'use strict';
var AV = require('leanengine');
AV.init({
@ -21,9 +22,9 @@ app.listen(PORT, function (err) {
// 注册全局未捕获异常处理器
process.on('uncaughtException', function(err) {
console.error("Caught exception:", err.stack);
console.error('Caught exception:', err.stack);
});
process.on('unhandledRejection', function(reason, p) {
console.error("Unhandled Rejection at: Promise ", p, " reason: ", reason.stack);
console.error('Unhandled Rejection at: Promise ', p, ' reason: ', reason.stack);
});
});

Loading…
Cancel
Save