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

Throw exception when DB_SWITCH is invalid #377

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

liyuheng55555
Copy link
Collaborator

Now if db_switch is invalid, benchmark will use 012 as default. This is bad for debugging.
So, throw an exception instead.
image

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM

@liyuheng55555 liyuheng55555 changed the title Don't use 012 as default ! Throw exception when DB_SWITCH is invalid Oct 18, 2023
@OneSizeFitsQuorum OneSizeFitsQuorum merged commit 2bfce9c into thulab:master Oct 18, 2023
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