FIX: an exception cause is itself an exception

This commit is contained in:
Daniel Waterworth
2019-06-27 11:37:23 +01:00
parent fe870a1e54
commit e58f67a0c0
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ module TurboTests
new(
obj[:backtrace],
obj[:message],
obj[:cause]
FakeException.from_obj(obj[:cause])
)
end
end