This commit is contained in:
Daniel García Aubert
2017-07-31 18:51:23 +02:00
parent b1114fc606
commit 49d2f513c6
+2 -2
View File
@@ -229,7 +229,7 @@ function stripConnectionInfo(message) {
.replace(/is the server.*encountered/im, 'encountered');
}
var ERROR_INFO_TO_EXOSE = {
var ERROR_INFO_TO_EXPOSE = {
message: true,
layer: true,
type: true,
@@ -238,7 +238,7 @@ var ERROR_INFO_TO_EXOSE = {
};
function shouldBeExposed (prop) {
return !!ERROR_INFO_TO_EXOSE[prop];
return !!ERROR_INFO_TO_EXPOSE[prop];
}
function errorMessage(err) {