mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
(Put the log after the flash in case the console.log fails for some reason)
This commit is contained in:
parent
7db903e7c8
commit
e113c56cae
1 changed files with 1 additions and 1 deletions
|
@ -137,8 +137,8 @@
|
||||||
// Return HTTP error code at least
|
// Return HTTP error code at least
|
||||||
else {
|
else {
|
||||||
var errorMessage = xhr.status+' '+xhr.statusText;
|
var errorMessage = xhr.status+' '+xhr.statusText;
|
||||||
console.log(xhr);
|
|
||||||
c.flash('fail', y18n.t('error_server_unexpected', [errorMessage]));
|
c.flash('fail', y18n.t('error_server_unexpected', [errorMessage]));
|
||||||
|
console.log(xhr);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove loader if any
|
// Remove loader if any
|
||||||
|
|
Loading…
Reference in a new issue