forked from p15670423/monkey
UI: Modify language of error message in ImportConfigModal
This commit is contained in:
parent
8615ae554f
commit
722e1afb63
|
@ -149,8 +149,8 @@ const ConfigImportModal = (props: Props) => {
|
||||||
setConfigCredentials(importContents['credentials']);
|
setConfigCredentials(importContents['credentials']);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof TypeError) {
|
if (e instanceof TypeError) {
|
||||||
setErrorMessage('Missing required fields, configuration file is most '
|
setErrorMessage('Missing required fields; configuration file is most '
|
||||||
+ 'likely from an old version')
|
+ 'likely from an older version of Infection Monkey.')
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Reference in New Issue