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

feat: different error handling #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

willmaclean
Copy link
Contributor

@willmaclean willmaclean commented Jul 9, 2024

Hello, I'm keen to start contributing. I will have a look at some of the issues in the issues list first, but just wanted to start off with something super basic!

Fine for you to close / reject this as it is a little bit pointless :)

Comment on lines +133 to +136
try:
database, leftover = table_reference.split(".", 1)
except ValueError:
raise Exception("Specify the full path to the table, e.g. 'schema.table'")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this a useful thing to catch. However, I would add a bit more context. Maybe include the table_reference value to make the error message more informative?

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

Successfully merging this pull request may close these issues.

2 participants