Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
0538928d
Commit
0538928d
authored
Nov 19, 2018
by
Amaury Martiny
Browse files
Throw error instead
parent
d502fe68
Pipeline
#44344
passed with stage
in 2 minutes and 37 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/RequireHealthOverlay/RequireHealthOverlay.js
View file @
0538928d
...
...
@@ -20,7 +20,7 @@ function statusMatches (status, require) {
case
'
sync
'
:
return
status
===
STATUS
.
GOOD
;
default
:
return
false
;
throw
new
Error
(
`Status '
${
status
}
' must be one of 'connected|sync'.`
)
;
}
}
...
...
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