Fix bug after err-to-exc api rename

This commit is contained in:
Ilya Ig. Petrov 2017-06-03 21:16:07 +05:00
parent 9006135e2c
commit 009184aaee

View File

@ -5,7 +5,7 @@ chrome.runtime.getBackgroundPage( (bgWindow) =>
window, 'LERR', () => { window, 'LERR', () => {
const tbody = document.getElementById('errorsTable'); const tbody = document.getElementById('errorsTable');
const errors = bgWindow.apis.lastErrors.get().map( const errors = bgWindow.apis.lastNetErrors.get().map(
({url, error}, index) => ({ message: error, hostname: new URL(url).hostname, ifChecked: false }) ({url, error}, index) => ({ message: error, hostname: new URL(url).hostname, ifChecked: false })
); );