From: Felipe Contreras Date: Sat, 15 May 2021 21:20:58 +0000 (-0500) Subject: ruby: fetch class name in case of error X-Git-Tag: archive/debian/0.33_rc0-1~98 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=79bb82c2179ea0dd5de384bb1ab6f0f118a035df;hp=79bb82c2179ea0dd5de384bb1ab6f0f118a035df;p=notmuch ruby: fetch class name in case of error There is not much point in complicating the code for error messages that can be easily constructed. Before: database closed (RuntimeError) After: Notmuch::Database object destroyed (RuntimeError) Signed-off-by: Felipe Contreras ---