This repository was archived by the owner on Jul 19, 2025. It is now read-only.
 
 
 - 
  Notifications
 You must be signed in to change notification settings 
- Fork 24
Commit 0e9b530
committed
Be more explicit in the name of clarity
Before merging my last PR, I pulled this out into a method. I noticed
after merging that, outside of the context of the rescue block, a bare
`raise` (without specifying the exception) is a little confusing. Raise
what? I double checked, and it actually works the same -- it raises the
error from $ERROR_INFO, which is the active error. But I still think
it's worth being more explicit.
https://gist.github.com/maxjacobson/e807c26444810aec1d2b0f4a91d03213 1 parent e704503 commit 0e9b530
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 150 | 150 |  | |
| 151 | 151 |  | |
| 152 | 152 |  | |
| 153 | - | ||
| 153 | + | ||
| 154 | 154 |  | |
| 155 | 155 |  | |
| 156 | 156 |  | |
|  | |||
0 commit comments