Update server-db.js

Fix processError