SP.UpgradeInfo.errorFile property (sp.js)

The location of the file that contains upgrade errors.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value =SP.UpgradeInfo.get_errorFile()