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]
#4 Updated by Anonymous about 3 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100