Skip to content

Instantly share code, notes, and snippets.

View silvestreh's full-sized avatar
🏠
Working from home

Silvestre Herrera silvestreh

🏠
Working from home
View GitHub Profile
@silvestreh
silvestreh / app-index.js
Last active August 21, 2019 17:19
Integrate Nuxt into Feathers
// src/index.js
/* eslint-disable no-console */
const logger = require('winston');
const app = require('./app');
const port = app.get('port');
process.on('unhandledRejection', (reason, p) => {
logger.error('Unhandled Rejection at: Promise ', p, reason);