All ThreadError in PStore transaction will be caught and replaced with PStore::Error
I noticed all ThreadError in PStore transaction will be caught and replaced with PStore::Error.
Here is an example:
ps = PStore.new("hoge")
The ThreadError was replaced with PStore::Error.
rescue in transaction': nested transaction (PStore::Error)transaction'
from pstore_rescue.rb:4:in `'
I wrote and attached a patch. Patched PStore passes in test/test_pstore.rb.
- lib/pstore.rb (PStore): fix not to replace ThreadError raised in #transaction block with PStore::Error. [Bug #5269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#4 Updated by Anonymous over 5 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100