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

Handle errors more gracefully in on-run-start/end context #1266

Closed
drewbanin opened this issue Jan 29, 2019 · 2 comments
Closed

Handle errors more gracefully in on-run-start/end context #1266

drewbanin opened this issue Jan 29, 2019 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@drewbanin
Copy link
Contributor

Issue

Issue description

If errors occur in on-run-start/end, dbt will not provide the usual end of run summary. As such, errors that occurred during the run will not be shown.

Example output:

07:30:13 | 34 of 34 ERROR relation analytics.my_model......... [�ERROR]
Database error while running on-run-end
Database Error
SSL SYSCALL error: EOF detected

System information

The output of dbt --version:

v0.12.2
@drewbanin drewbanin added the bug Something isn't working label Jan 29, 2019
@gmile
Copy link

gmile commented Jan 29, 2021

I don't think it's the case anymore. I am experiencing SSL SYSCALL error: EOF detected sometimes too. The summary doesn't get garbled like in the example above.

@jtcohen6
Copy link
Contributor

jtcohen6 commented Feb 1, 2021

Good point @gmile. I think this improved in dbt v0.14.0 (July 2019) with the addition of stdout logging for on-run-start and on-run-end (#1440). I'm going to close this issue as an effective duplicate of #696.

@jtcohen6 jtcohen6 added the duplicate This issue or pull request already exists label Feb 1, 2021
@jtcohen6 jtcohen6 closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants