diff --git a/js/modules/loki_snode_api.js b/js/modules/loki_snode_api.js index eadd46da1..8709f2a4b 100644 --- a/js/modules/loki_snode_api.js +++ b/js/modules/loki_snode_api.js @@ -160,7 +160,7 @@ class LokiSnodeAPI { if (otherPaths.length === 0) { // This should never happen! - log.error('No onion paths available after filtering'); + throw new Error('No onion paths available after filtering'); } return otherPaths[0].path;