Update app.js

It'll throw exception when retrieve data from database with param 'request' of method connection