Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
timothe
duniter
Commits
1119b28f
Commit
1119b28f
authored
Apr 09, 2019
by
Moul
Browse files
Merge branch 'patch-2' into 'dev'
"No interface" better error message See merge request
nodes/typescript/duniter!1269
parents
dd0083cf
d12bc9e2
Changes
1
Show whitespace changes
Inline
Side-by-side
app/modules/bma/index.ts
View file @
1119b28f
...
...
@@ -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.
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment