Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Add "logging" on prod mode - just example | ead0ba75a9cf099e37676ab95f60a37aa3b883ca | antonio.calatayud | 2019-01-14 16:36:16 |
Add ngxToasta and global error handler | cb0935ff5752b72870b6b9b5138e76fd0f7d7718 | antonio.calatayud | 2019-01-14 12:42:32 |
Remove font awesome | 9ba33a938e20010daf4743f75301c994ec043a9d | antonio.calatayud | 2019-01-14 10:32:05 |
Updating solution to Angular 7 and bootsrap4. Missing font-awesome | c277172b144f2d0c11fd9a246eaf4d00dedd6092 | antonio.calatayud | 2019-01-09 16:06:28 |
Implemented client side validation on new vehicle | 10a9108113bdfbe2ae3b998a32633702e4bc13fc | Antonio Calatayud | 2019-01-08 16:24:50 |
Implement submit form | 1e197fc2a202658d14526f2791b0a4a1dc4f568b | Antonio Calatayud | 2019-01-08 16:10:49 |
Biniding inputs to vehicle object | d971e6fcc584e947b65547024fa9fd5407089b3e | Antonio Calatayud | 2019-01-08 16:04:25 |
Move Vehicle repository to UoW | 440e32fd438f2143e1453e4504a383b3d09af016 | Antonio Calatayud | 2019-01-08 15:31:51 |
Move Models to Core and fix namespaces | 7120645b3fb5c63653e56570280bf505d2dbf4ed | Antonio Calatayud | 2019-01-08 15:11:32 |
Start implementing UnitOfwork pattern | d458f0ca3bced9b78880977ee11c3437633b7da0 | Antonio Calatayud | 2019-01-08 12:03:18 |
Move more context queries to repository | 2cce05a668e039917d2c0967aa97eb3786dd5de2 | Antonio Calatayud | 2019-01-06 17:59:17 |
Start implementing repository pattern | 1d0b0cd78bc861d0e0282a69e5d88b219efbb118 | Antonio Calatayud | 2019-01-06 17:37:57 |
Return all inf when update/added vehicle | ef44980290b644244de12ad9e064ca6dcee0ac2b | Antonio Calatayud | 2019-01-04 16:51:50 |
Refactor to bring different vehicle resources between get & update/add | 6980669ec37dab31b595af6fa1be6718eef4b4e1 | Antonio Calatayud | 2019-01-04 16:37:41 |
Implemented Get Vehicle | d340e1c7dda6424e1e370465be03e4e7a74c0b3e | Antonio Calatayud | 2019-01-04 15:45:26 |
Implemented delete vehicle | a07116dd194b102098b3e826680d374ad6f3660e | Antonio Calatayud | 2019-01-04 15:32:13 |
Implement update vehicle | d52a39f524983c681a190023a40337425432c7a6 | Antonio Calatayud | 2019-01-04 15:23:19 |
Add Validation when creating a vehicle | 7a0f75bba8507110d9d8e801969cdf7497fa15a8 | antonio.calatayud | 2019-01-02 16:40:39 |
Add vehicle to database capability | fa84eb5a526a124b4ec7126271052611e0f57bb1 | antonio.calatayud | 2019-01-02 16:22:18 |
Fix Migrations | e540688f04b874a8f3f5c95c6f31c640440b2921 | antonio.calatayud | 2019-01-02 15:51:37 |
File | Lines added | Lines deleted |
---|---|---|
ClientApp/src/app/app.error-handler.ts | 8 | 1 |
File ClientApp/src/app/app.error-handler.ts changed (mode: 100644) (index 2f6c8d0..8a2708c) | |||
1 | import { ErrorHandler, Inject, NgZone } from '@angular/core'; | ||
1 | import { ErrorHandler, Inject, NgZone, isDevMode } from '@angular/core'; | ||
2 | 2 | import { ToastaService } from 'ngx-toasta'; | import { ToastaService } from 'ngx-toasta'; |
3 | 3 | ||
4 | 4 | export class AppErrorHandler implements ErrorHandler { | export class AppErrorHandler implements ErrorHandler { |
... | ... | export class AppErrorHandler implements ErrorHandler { | |
9 | 9 | } | } |
10 | 10 | ||
11 | 11 | handleError(error: any): void { | handleError(error: any): void { |
12 | if (!isDevMode()) { | ||
13 | //ToDo Log errors | ||
14 | } | ||
15 | else { | ||
16 | |||
17 | } | ||
18 | |||
12 | 19 | this.ngZone.run(() => | this.ngZone.run(() => |
13 | 20 | { | { |
14 | 21 | this.toastaService.error({ | this.toastaService.error({ |