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

Tone down the watcher error #968

Merged
merged 1 commit into from
Nov 15, 2019
Merged

Tone down the watcher error #968

merged 1 commit into from
Nov 15, 2019

Conversation

paulcsmith
Copy link
Member

@paulcsmith paulcsmith commented Nov 15, 2019

It took way too much attention away from the real error.

Make it subtle and less wordy.

Screen Shot 2019-11-15 at 5 56 54 PM

It took way too much attention away from the real error.

Make it subtle and less wordy.
@@ -166,15 +166,16 @@ module LuckySentry
end

private def print_error_message
puts "There was a problem compiling. Watching for fixes...".colorize(:red)
Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I know. There's a giant compiler error 🤣

if successful_compilations.zero?
puts <<-ERROR

Try this...
#{"---".colorize.dim}
Copy link
Member Author

Choose a reason for hiding this comment

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

Divider so it is separate from the Crystal compile error

Copy link
Member

Choose a reason for hiding this comment

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

ooo nice

Feeling stuck? Try this...

▸ Run setup: #{"script/setup".colorize.bold}
▸ Reinstall shards: #{"rm -rf lib bin && shards install".colorize.bold}
Copy link
Member Author

Choose a reason for hiding this comment

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

Sometimes cached binaries and shards cause issues during Crystal upgrades

@paulcsmith paulcsmith merged commit a8280c6 into master Nov 15, 2019
@paulcsmith paulcsmith deleted the pcs/chill-out branch November 15, 2019 22:58
@paulcsmith
Copy link
Member Author

Here's what it used to look like

Screen Shot 2019-11-15 at 6 03 27 PM

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