@ardimedia/angular-portal-azure 0.2.297 → 0.2.299
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.d.ts +1 -1
- package/apn.js +5 -5
- package/package.json +2 -2
package/apn.d.ts
CHANGED
|
@@ -457,7 +457,7 @@ declare namespace angularportalazure {
|
|
|
457
457
|
Url: string;
|
|
458
458
|
static getOneLineMessage(exception: angularportalazure.Exception): string;
|
|
459
459
|
static prepareException(response: angular.IHttpPromiseCallbackArg<angularportalazure.Exception> | any): angularportalazure.Exception;
|
|
460
|
-
private static
|
|
460
|
+
private static processExceptionData;
|
|
461
461
|
private static processDotNetException2;
|
|
462
462
|
}
|
|
463
463
|
}
|
package/apn.js
CHANGED
|
@@ -1605,14 +1605,14 @@ var angularportalazure;
|
|
|
1605
1605
|
};
|
|
1606
1606
|
// TODO:2017-01-09/hp: [any] will be [Response] in angular2
|
|
1607
1607
|
Exception.prepareException = function (response) {
|
|
1608
|
-
console.log('angularportalazure.Exception.prepareException
|
|
1608
|
+
console.log('angularportalazure.Exception.prepareException');
|
|
1609
|
+
console.log(response.data);
|
|
1610
|
+
console.log(response.data.Data);
|
|
1609
1611
|
var exception = new angularportalazure.Exception();
|
|
1610
1612
|
if (response.headers === undefined) {
|
|
1611
|
-
|
|
1612
|
-
exception = angularportalazure.Exception.processDotNetException1(response);
|
|
1613
|
+
exception = angularportalazure.Exception.processExceptionData(response);
|
|
1613
1614
|
}
|
|
1614
1615
|
else {
|
|
1615
|
-
console.log('> Get information from [processDotNetException2.json()].');
|
|
1616
1616
|
exception = angularportalazure.Exception.processDotNetException2(response);
|
|
1617
1617
|
}
|
|
1618
1618
|
exception.convertResponse(response);
|
|
@@ -1624,7 +1624,7 @@ var angularportalazure;
|
|
|
1624
1624
|
console.log(exception);
|
|
1625
1625
|
return exception;
|
|
1626
1626
|
};
|
|
1627
|
-
Exception.
|
|
1627
|
+
Exception.processExceptionData = function (response) {
|
|
1628
1628
|
var exception = new angularportalazure.Exception();
|
|
1629
1629
|
// #region Convert data to Messages
|
|
1630
1630
|
exception.Messages = [];
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
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.299",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|