Commit 1119b28f authored by Moul's avatar Moul
Browse files

Merge branch 'patch-2' into 'dev'

"No interface" better error message

See merge request nodes/typescript/duniter!1269
parents dd0083cf d12bc9e2
......@@ -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.');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment