diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/storeUtil/utils/general')
-rw-r--r-- | vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts b/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts index a34322751..f87a97397 100644 --- a/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts +++ b/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts @@ -92,6 +92,9 @@ export function generalReducer(state: ServiceState, action: Action) : ServiceSta if (targetObject) { targetObject = _.merge(targetObject, mergeObjectByPathAction.payload); } + else { + console.error(`Can't find object at ${mergeObjectByPathAction.path.join()}`) + } return newState; } |