mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
fix installation issue
This commit is contained in:
@ -61,7 +61,7 @@ class EnvironmentManager
|
|||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'error' => $e->getMessage()
|
'error_message' => $e->getMessage()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -203,8 +203,10 @@ export default {
|
|||||||
this.$emit('next')
|
this.$emit('next')
|
||||||
window.toastr['success'](this.$t('wizard.success.' + response.data.success))
|
window.toastr['success'](this.$t('wizard.success.' + response.data.success))
|
||||||
return true
|
return true
|
||||||
} else {
|
} else if (response.data.error) {
|
||||||
window.toastr['error'](this.$t('wizard.errors.' + 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) {
|
} catch (e) {
|
||||||
window.toastr['error'](e.response.data.message)
|
window.toastr['error'](e.response.data.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user