LogsModel: also log previous exception to get more info