[squash] preserve exception type