Skip to content
Snippets Groups Projects

"No interface" better error message

Merged Tuxicoman requested to merge Tuxicoman/duniter:patch-2 into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -165,7 +165,7 @@ export const BmaDependency = {
// Configuration errors
if (!conf.nobma) {
if(!conf.ipv4 && !conf.ipv6){
throw new Error("BMA: no interface to listen to.");
throw new Error("BMA: no interface to listen to. Provide ipv4/ipv6 interface or deactivate BMA");
}
if(!conf.remoteipv4 && !conf.remoteipv6 && !conf.remotehost){
throw new Error('BMA: no interface for remote contact.');
Loading