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

Replace asserts with tprintf() and exit(1) #345

Merged
merged 1 commit into from
Jun 15, 2016
Merged

Replace asserts with tprintf() and exit(1) #345

merged 1 commit into from
Jun 15, 2016

Conversation

amitdo
Copy link
Collaborator

@amitdo amitdo commented Jun 14, 2016

Asserts should not be used for missing or invalid input in the command
line! This leads to a bad UX.

Asserts should not be used for missing or invalid input in the command
line! This leads to a bad UX.
@amitdo amitdo merged commit 32d5ef6 into tesseract-ocr:master Jun 15, 2016
@amitdo amitdo deleted the training-noasserts branch June 15, 2016 07:50
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Replace asserts with tprintf() and exit(1)
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Replace asserts with tprintf() and exit(1)
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Replace asserts with tprintf() and exit(1)
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Replace asserts with tprintf() and exit(1)
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.

None yet

2 participants