From ea688f3942e89dd916db7b6f2ca7404e8252a778 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 31 Dec 2019 09:35:19 -0500 Subject: [PATCH] Fix network error message in logger Related feedback: - https://github.com/gorhill/uMatrix/issues/945#issuecomment-569792402 Regression from: - https://github.com/gorhill/uMatrix/commit/9b292304d33a --- src/js/assets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/assets.js b/src/js/assets.js index 806baa5..d90f49a 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -110,7 +110,7 @@ api.fetch = function(url, options = {}) { const onErrorEvent = function() { cleanup(); - fail({ url }, errorCantConnectTo.replace('{{msg}}', url)); + fail({ url }, errorCantConnectTo.replace('{{url}}', url)); }; const onTimeout = function() {