pry/pry — comment on commit c97ecf0b258a0c8446d790724b3da0dab11e0efe
File: lib/pry/history.rb line 77
By HakubJozak:

Using general 'rescue' clause is really not a good practice. Moreover, you can do

File.readable?(history_file)

to check for the permissions I believe.