wrap error in try catch so ember-cli server doesn’t crash (pass error to promise reject)