-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Conversation
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) |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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
It took way too much attention away from the real error.
Make it subtle and less wordy.