Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Remove Error when missing item is encountered, in stead, return undef…
Browse files Browse the repository at this point in the history
…ined
  • Loading branch information
mschipperheyn committed Jun 22, 2016
1 parent 9a9199e commit 3152aa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "normalizr-immutable",
"version": "0.0.4-beta7",
"version": "0.0.4-beta8",
"description": "Normalizes JSON to immutable Records according to schema for Redux applications and provide proxied access to properties",
"main": "lib/index.js",
"private": false,
Expand Down
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,14 @@ function proxy(id, schema, bag, options){

}catch(err){

console.error(err.stack,{
console.log(err.stack,{
message:'Normalizr:Error processing Proxy',
id:target.id,
entity:target.key,
key:name,
reducer:schema.getReducerKey()
});

throw err;

}
return undefined;
},
Expand Down

0 comments on commit 3152aa4

Please sign in to comment.