log.die is deprecated