Skip to content

Commit 6ce5d89

Browse files
authored
Merge pull request #639 from andyw8/patch-2
Update snippet content in README
2 parents 8862501 + 51a39a2 commit 6ce5d89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ code into relevant existing executables. The snippet looks like this:
5050
``` ruby
5151
begin
5252
load File.expand_path('../spring', __FILE__)
53-
rescue LoadError
53+
rescue LoadError => e
54+
raise unless e.message.include?('spring')
5455
end
5556
```
5657

0 commit comments

Comments
 (0)