app.get('/api/analytics/image-errors', (req, res) => {
    analytics
        .imageErrors()
        .then(d => res.json(d))
        .catch(errorHandler.bind(res));