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

endOfNight.sh: aid in debugging #951

Merged
merged 3 commits into from
Jan 21, 2022
Merged

endOfNight.sh: aid in debugging #951

merged 3 commits into from
Jan 21, 2022

Conversation

EricClaeys
Copy link
Collaborator

Add completion messages to log to make it easy to see when the commands finished.

Add completion messages to log to make it easy to see when the commands finished.
@linuxkidd
Copy link
Collaborator

Since you're doing this.. why not move the 'complete' statement to just below the generation, and add another inside the upload conditional saying $thing upload complete :)

@EricClaeys
Copy link
Collaborator Author

@linuxkidd Michael, the reasons I was going to give for how I do it don't make sense after I looked at the code again, so I will change to how you suggested. Since almost all the issues users have are with the generation of those files and not uploading them, putting the 2nd message right after the generation will make it easier to find issues in the log file.

Put the "completed" messages directly after the generation of the images.
On upload, the upload script displays messages.
Dang it.  I forgot to replace $? with $RET.
@EricClaeys
Copy link
Collaborator Author

@linuxkidd Ready for review.

Copy link
Collaborator

@AndreasLMeg AndreasLMeg left a comment

Choose a reason for hiding this comment

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

it is always good to edit similar pieces of code similarly or identically.

Makes refactoring easier

@linuxkidd linuxkidd merged commit ed9a9b5 into master Jan 21, 2022
@EricClaeys EricClaeys deleted the endOfNight-debugging-aid branch January 23, 2022 02:00
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

3 participants