summaryrefslogtreecommitdiff
path: root/lib/internal/http2/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/http2/util.js')
-rw-r--r--lib/internal/http2/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/http2/util.js b/lib/internal/http2/util.js
index b9bd580af2..bf5d072193 100644
--- a/lib/internal/http2/util.js
+++ b/lib/internal/http2/util.js
@@ -482,7 +482,7 @@ function assertIsObject(value, name, types = 'Object') {
(value === null ||
typeof value !== 'object' ||
Array.isArray(value))) {
- const err = new ERR_INVALID_ARG_TYPE(name, types);
+ const err = new ERR_INVALID_ARG_TYPE(name, types, value);
Error.captureStackTrace(err, assertIsObject);
throw err;
}