@ardimedia/angular-portal-azure 0.2.231 → 0.2.232
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.js +2 -13
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1417,14 +1417,7 @@ var angularportalazure;
|
|
|
1417
1417
|
if (exception.Message !== undefined) {
|
|
1418
1418
|
message = message + ': ' + exception.Message + ' ';
|
|
1419
1419
|
}
|
|
1420
|
-
|
|
1421
|
-
console.log(exception.ExceptionMessage);
|
|
1422
|
-
console.log(exception.ExceptionMessage !== undefined);
|
|
1423
|
-
console.log(exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details'));
|
|
1424
|
-
console.log(exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') === 0);
|
|
1425
|
-
console.log(exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') === 0);
|
|
1426
|
-
console.log('2');
|
|
1427
|
-
if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') === 0) {
|
|
1420
|
+
if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') === -1) {
|
|
1428
1421
|
message = message + ': ' + exception.ExceptionMessage + ' ';
|
|
1429
1422
|
}
|
|
1430
1423
|
if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') > 0) {
|
|
@@ -1478,12 +1471,8 @@ var angularportalazure;
|
|
|
1478
1471
|
// TODO:2017-01-09/hp: Implement this function for angular2
|
|
1479
1472
|
Exception.processDotNetException2 = function (response) {
|
|
1480
1473
|
var exception = new angularportalazure.Exception();
|
|
1481
|
-
console.log('response.json()');
|
|
1482
|
-
console.log(response.json());
|
|
1483
|
-
console.log('response.json().data');
|
|
1484
|
-
console.log(response.json().data);
|
|
1485
1474
|
if (response.json().data !== undefined) {
|
|
1486
|
-
console.log('[angularportalazure.Exception.processDotNetException2] not
|
|
1475
|
+
console.log('[angularportalazure.Exception.processDotNetException2] not implemented. Implement it to get proper exception data.');
|
|
1487
1476
|
}
|
|
1488
1477
|
return exception;
|
|
1489
1478
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.232",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|