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

Add error detail log to cli.js #3149

Merged
merged 1 commit into from Apr 28, 2019
Merged

Add error detail log to cli.js #3149

merged 1 commit into from Apr 28, 2019

Conversation

@risseraka
Copy link
Contributor

@risseraka risseraka commented Apr 17, 2019

Hi there,

A really small PR to add error details when using cli, instead of only having a stack trace, which makes it really hard to know where the issue is when seeding (e.g. error: null value in column "date" violates not-null constraint).

LMKWYT,
Cheers.

@kibertoad kibertoad merged commit 08ae1ec into knex:master Apr 28, 2019
2 checks passed
@kibertoad
Copy link
Collaborator

@kibertoad kibertoad commented Apr 28, 2019

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants