diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html index 36d6fb321..80b089459 100644 --- a/src/webui/www/private/views/preferences.html +++ b/src/webui/www/private/views/preferences.html @@ -2650,6 +2650,9 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD document.getElementById("i2pOutboundQuantity").value = pref.i2p_outbound_quantity; document.getElementById("i2pInboundLength").value = pref.i2p_inbound_length; document.getElementById("i2pOutboundLength").value = pref.i2p_outbound_length; + }).catch((error) => { + console.error(error); + alert("QBT_TR(Unable to load program preferences, qBittorrent is probably unreachable.)QBT_TR[CONTEXT=HttpServer]"); }); };