Skip to content

Commit 2c67f41

Browse files
justin808claude
andcommitted
Add help message to fatal error output
Show troubleshooting section when invoke_and_exit_if_failed encounters errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 55b820a commit 2c67f41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/react_on_rails/utils.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def self.invoke_and_exit_if_failed(cmd, failure_message)
5757
MSG
5858

5959
puts wrap_message(msg)
60+
puts ""
61+
puts extract_troubleshooting_section
6062

6163
# Rspec catches exit without! in the exit callbacks
6264
exit!(1)

0 commit comments

Comments
 (0)