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

fix(generator): log message or full error for unhandled error without stack trace #6882

Merged
merged 3 commits into from
Jan 17, 2020

Conversation

pimlie
Copy link

@pimlie pimlie commented Jan 16, 2020

Resolves: #6853

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

As the linked issue doesnt contain a repro, I couldnt fully confirm this fixes it. But looking at the logs this should fix it.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

@pi0 pi0 merged commit 708ae30 into dev Jan 17, 2020
@pi0 pi0 deleted the fix-generator-format-error branch January 17, 2020 09:18
@pi0
Copy link
Member

pi0 commented Jan 17, 2020

Maybe in the future create a common util for this? /cc @pimlie

@pimlie
Copy link
Author

pimlie commented Jan 17, 2020

There is a TODO in the Generator class to use consola for formatting errors. I looked briefly into that but didnt find an easy way to do that

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

Successfully merging this pull request may close these issues.

Errors won't show with nuxt generate
3 participants