Skip to content

Commit 12f90d7

Browse files
committed
Merge pull request #33 from debitoor/master
adjusted serializable object properties count tp 1000
2 parents ae275b4 + 08b760b commit 12f90d7

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.jshintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
coverage

lib/util/getSerializableError.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function shouldSerialize(obj) {
2626

2727
function _shouldSerialize(obj) {
2828
count++;
29-
if (count >= 100) {
29+
if (count >= 1000) {
3030
return false;
3131
}
3232
//default: stringify stuff that can not be run through Object.keys

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Allan Ebdrup",
33
"name": "nodeerrors",
44
"description": "error handling module for node",
5-
"version": "2.1.1",
5+
"version": "2.1.2",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/Muscula/nodeerrors"

test/mocha.opts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
--reporter dot
33
--ui bdd
44
--recursive
5+
--timeout 4000

0 commit comments

Comments
 (0)