Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not crash when graphql returns an error #2

Open
Vanuan opened this issue Jun 7, 2017 · 1 comment
Open

Should not crash when graphql returns an error #2

Vanuan opened this issue Jun 7, 2017 · 1 comment

Comments

@Vanuan
Copy link
Member

Vanuan commented Jun 7, 2017

Listening on port 80
Error
    at new ApolloError (file:///src/jspm_packages/npm/[email protected]/errors.js:14:22)
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:126:39
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:547:17
    at file:///src/jspm_packages/npm/[email protected]/index.js:40:11
    at baseForOwn (file:///src/jspm_packages/npm/[email protected]/index.js:22:20)
    at forOwn (file:///src/jspm_packages/npm/[email protected]/index.js:54:20)
    at QueryManager.broadcastQueries (file:///src/jspm_packages/npm/[email protected]/QueryManager.js:544:9)
    at QueryManager.broadcastNewStore (file:///src/jspm_packages/npm/[email protected]/QueryManager.js:55:14)
    at file:///src/jspm_packages/npm/[email protected]/index.js:91:40
    at Object.dispatch (file:///src/jspm_packages/npm/[email protected]/lib/applyMiddleware.js:45:18)
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:423:29
    at lib$es6$promise$$internal$$tryCatch (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:362:16)
    at lib$es6$promise$$internal$$invokeCallback (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:374:17)
    at lib$es6$promise$$internal$$publish (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:345:11)
    at lib$es6$promise$asap$$flush (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:119:9)
    at nextTickCallbackWith0Args (node.js:436:9)
[ { message: 'request to http://edr-api/api/companies?where={"edrpou":"00308376"} failed, reason: connect ECONNREFUSED 10.0.0.2:80',
    locations: [ [Object] ] } ]
Error
    at new ApolloError (file:///src/jspm_packages/npm/[email protected]/errors.js:14:22)
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:126:39
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:547:17
    at file:///src/jspm_packages/npm/[email protected]/index.js:40:11
    at baseForOwn (file:///src/jspm_packages/npm/[email protected]/index.js:22:20)
    at forOwn (file:///src/jspm_packages/npm/[email protected]/index.js:54:20)
    at QueryManager.broadcastQueries (file:///src/jspm_packages/npm/[email protected]/QueryManager.js:544:9)
    at QueryManager.broadcastNewStore (file:///src/jspm_packages/npm/[email protected]/QueryManager.js:55:14)
    at file:///src/jspm_packages/npm/[email protected]/index.js:91:40
    at Object.dispatch (file:///src/jspm_packages/npm/[email protected]/lib/applyMiddleware.js:45:18)
    at file:///src/jspm_packages/npm/[email protected]/QueryManager.js:423:29
    at lib$es6$promise$$internal$$tryCatch (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:362:16)
    at lib$es6$promise$$internal$$invokeCallback (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:374:17)
    at lib$es6$promise$$internal$$publish (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:345:11)
    at lib$es6$promise$asap$$flush (file:///src/jspm_packages/npm/[email protected]/dist/es6-promise.js:119:9)
    at nextTickCallbackWith0Args (node.js:436:9)
[ { message: 'request to http://edr-api/api/companies?where={"edrpou":"00380936"} failed, reason: connect ECONNREFUSED 10.0.0.2:80',
    locations: [ [Object] ] } ]

@Vanuan
Copy link
Member Author

Vanuan commented Jun 8, 2017

There should be a nice error page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant