fix installation issue

This commit is contained in:
raishvaria
2019-12-13 17:03:44 +05:30
parent e030d4b9d0
commit ddd204105f
2 changed files with 4 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class EnvironmentManager
} catch (Exception $e) {
return [
'error' => $e->getMessage()
'error_message' => $e->getMessage()
];
}

View File

@ -203,8 +203,10 @@ export default {
this.$emit('next')
window.toastr['success'](this.$t('wizard.success.' + response.data.success))
return true
} else {
} else if (response.data.error) {
window.toastr['error'](this.$t('wizard.errors.' + response.data.error))
} else if (response.data.error_message) {
window.toastr['error'](response.data.error_message)
}
} catch (e) {
window.toastr['error'](e.response.data.message)