Commit ce489e1a authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update LoaderException.js to improve error reporting.

parent 58a090ae
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
HEAD HEAD
- Require python 3.7 - Require python 3.7
- Minor improvement reporting errors.
0.9.9.1 (Oct 2019) 0.9.9.1 (Oct 2019)
- Minor release - Minor release
......
...@@ -146,14 +146,14 @@ Ext.define("Dbui.local.fr.panel.GridWithFilter", { ...@@ -146,14 +146,14 @@ Ext.define("Dbui.local.fr.panel.GridWithFilter", {
Ext.define("Dbui.local.fr.panel.plugin.LoaderException", { Ext.define("Dbui.local.fr.panel.plugin.LoaderException", {
override: "Dbui.panel.plugin.LoaderException", override: "Dbui.panel.plugin.LoaderException",
textError: "Erreur ..." textError: "Oups quelchose ne va pas..."
}); });
Ext.define("Dbui.local.fr.panel.WithUrlSelector", { Ext.define("Dbui.local.fr.panel.WithUrlSelector", {
override: "Dbui.panel.WithUrlSelector", override: "Dbui.panel.WithUrlSelector",
textChrome: "La taille du fichier est trôp grande pour Chrome.<br> Une solution est d'utilisée FireFox!", textChrome: "La taille du fichier est trôp grande pour Chrome.<br> Une solution est d'utilisée FireFox!",
textLoad : "Chargement en cours...", textLoad: "Chargement en cours...",
textProgressBar : "Fichier en préparation. Soyez patient ...", textProgressBar: "Fichier en préparation. Soyez patient ...",
textWarning: "Attention" textWarning: "Attention"
}); });
......
...@@ -10,7 +10,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", { ...@@ -10,7 +10,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", {
alias: "plugin.pPanelLoaderException", alias: "plugin.pPanelLoaderException",
// Private attribute for internationalization // Private attribute for internationalization
textError: "Error ...", textError: "Oops something went wrong...",
/** /**
* Initialize the plugin * Initialize the plugin
...@@ -51,7 +51,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", { ...@@ -51,7 +51,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", {
if (response.statusText) { if (response.statusText) {
Ext.Msg.show({ Ext.Msg.show({
title: me.textError, title: me.textError,
msg: response.statusText, msg: response.responseText,
buttons: Ext.Msg.OK, buttons: Ext.Msg.OK,
icon: Ext.Msg.WARNING icon: Ext.Msg.WARNING
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment