@ardimedia/angular-portal-azure 0.2.219 → 0.2.220
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 +9 -7
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1368,10 +1368,10 @@ var angularportalazure;
|
|
|
1368
1368
|
exception.StackTrace = responseData.StackTrace;
|
|
1369
1369
|
exception.InnerException = responseData.InnerException;
|
|
1370
1370
|
// ValidationsExceptionDotNet
|
|
1371
|
-
exception.ClassName = 'Not yet implemented';
|
|
1372
|
-
exception.Data = [{ key: 0, value: 'Not yet implemented' }];
|
|
1371
|
+
//exception.ClassName = 'Not yet implemented';
|
|
1372
|
+
//exception.Data = [{ key: 0, value: 'Not yet implemented' }];
|
|
1373
1373
|
// ValidationResultDotNet
|
|
1374
|
-
exception.ValidationResults = [{ ErrorMessage: 'Not yet implemented', MemberNames: [] }];
|
|
1374
|
+
//exception.ValidationResults = [{ ErrorMessage: 'Not yet implemented', MemberNames: [] }];
|
|
1375
1375
|
};
|
|
1376
1376
|
ValidationsExceptionDotNet.convertExceptionType = function (exception, responseData) {
|
|
1377
1377
|
if (responseData.ExceptionType === undefined) {
|
|
@@ -1413,15 +1413,14 @@ var angularportalazure;
|
|
|
1413
1413
|
console.log('angularportalazure.Exception.prepareException - Logging Exception: Find more information in following [Responsee] and [Exception].');
|
|
1414
1414
|
var exception = new angularportalazure.Exception();
|
|
1415
1415
|
if (response.headers === undefined) {
|
|
1416
|
-
console.log('>
|
|
1416
|
+
console.log('> Get information from [.data].');
|
|
1417
1417
|
exception = Exception.processDotNetException1(response);
|
|
1418
|
-
exception.convertResponse(response);
|
|
1419
1418
|
}
|
|
1420
1419
|
else {
|
|
1421
|
-
console.log('>
|
|
1420
|
+
console.log('> Get information from [.json()].');
|
|
1422
1421
|
exception = Exception.processDotNetException2(response);
|
|
1423
|
-
exception.convertResponse(response);
|
|
1424
1422
|
}
|
|
1423
|
+
exception.convertResponse(response);
|
|
1425
1424
|
exception.Url = response.url;
|
|
1426
1425
|
exception.Status = response.status;
|
|
1427
1426
|
exception.StatusText = response.statusText;
|
|
@@ -1443,6 +1442,9 @@ var angularportalazure;
|
|
|
1443
1442
|
message = message + '- ' + item + ' ';
|
|
1444
1443
|
});
|
|
1445
1444
|
}
|
|
1445
|
+
if (exception.InnerException !== undefined) {
|
|
1446
|
+
message = message + ': ' + exception.InnerException.ExceptionMessage + ' ';
|
|
1447
|
+
}
|
|
1446
1448
|
return message;
|
|
1447
1449
|
};
|
|
1448
1450
|
Exception.processDotNetException1 = function (response) {
|
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.220",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|