MCPcopy
hub / github.com/fanmingming/live / logError

Function logError

m3u8/vue.js:1890–1900  ·  view source on GitHub ↗
(err, vm, info)

Source from the content-addressed store, hash-verified

1888 }
1889
1890 function logError (err, vm, info) {
1891 {
1892 warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
1893 }
1894 /* istanbul ignore else */
1895 if ((inBrowser || inWeex) && typeof console !== 'undefined') {
1896 console.error(err);
1897 } else {
1898 throw err
1899 }
1900 }
1901
1902 /* */
1903

Callers 1

globalHandleErrorFunction · 0.85

Calls 1

warnFunction · 0.85

Tested by

no test coverage detected