@ardimedia/angular-portal-azure 0.2.206 → 0.2.207

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.
Files changed (2) hide show
  1. package/apn.js +2 -1
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -1368,6 +1368,7 @@ var angularportalazure;
1368
1368
  //#region Static Methods
1369
1369
  // TODO:2017-01-09/hp: [any] will be [Response] in angular2
1370
1370
  Exception.prepareException = function (response) {
1371
+ console.log('angularportalazure.Exception.prepareException - Logging Exception: Find more information in [Responsee] and [Exception] below. [Exception] does contain data from [Response.]');
1371
1372
  var exception = new angularportalazure.Exception();
1372
1373
  if (response.headers === undefined) {
1373
1374
  exception = Exception.processDotNetException1(response);
@@ -1396,7 +1397,6 @@ var angularportalazure;
1396
1397
  exception.StatusText = response.statusText;
1397
1398
  }
1398
1399
  //// Find a better way to log information, maybe to the database or to Google Analytics.
1399
- console.log('angularportalazure.Exception.prepareException - Logging Exception: Find more information in [Responsee] and [Exception] below. [Exception] does contain data from [Response.]');
1400
1400
  console.log(response);
1401
1401
  console.log(exception);
1402
1402
  return exception;
@@ -1457,6 +1457,7 @@ var angularportalazure;
1457
1457
  Exception.setExceptionType2 = function (response, exception) {
1458
1458
  if (response.json().ExceptionType !== undefined) {
1459
1459
  console.log('[angularportalazure.Exception.setExceptionType2] not yet implemented. Implement it to get proper exception data.');
1460
+ console.log(response.json().ExceptionType);
1460
1461
  }
1461
1462
  };
1462
1463
  return Exception;
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.206",
5
+ "version": "0.2.207",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {