Capture kapa error message regardless of number of colons

pull/10616/head
Jared Scheib 2018-05-04 15:15:33 -07:00
parent cd850f5280
commit a410a1dfa0
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ class AlertTabs extends PureComponent<Props, State> {
} catch ({
data: {error},
}) {
const errorMsg = _.join(_.drop(_.split(error, ': '), 2), ': ')
const errorMsg = error.split(': ').pop()
this.props.notify(notifyAlertEndpointSaveFailed(section, errorMsg))
return false
}