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

Exceptions in async functions may not have being logged #3003

Closed
linden5 opened this issue Nov 23, 2018 · 1 comment
Closed

Exceptions in async functions may not have being logged #3003

linden5 opened this issue Nov 23, 2018 · 1 comment

Comments

@linden5
Copy link

linden5 commented Nov 23, 2018

Version

3.0.4

Reproduction link

https://github.com/linden5/vue-cli-not-logging-error-reproduce

Node and OS info

Node 8.12.0 / yarn 1.12.3 / Windows 10

Steps to reproduce

  1. yarn install
  2. yarn serve

and the console would log 'Failed to compile with 1 errors' without error details

What is expected?

Error details can be properly logged

What is actually happening?

Error details are not logged


This problem is actually caused by friendly-errors-webpack-plugin, but I think vue-cli should log error details to help users locating problems quickly.

After having a glance of vue-cli-service source code, this problem may be related to error handling of async functions such as service#run.

@LinusBorg LinusBorg added scope: cli-service serve needs team repro We acknowledged your report and will soon try to reproduce it upstream and removed needs team repro We acknowledged your report and will soon try to reproduce it labels Nov 29, 2018
@LinusBorg
Copy link
Member

So it's an upstream problem? we can see if we can work around it, but I don't really think so right now.

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

No branches or pull requests

2 participants