We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6ea62 commit cd15ce4Copy full SHA for cd15ce4
src/context/request/request-context.js
@@ -137,11 +137,16 @@ class RequestContext {
137
msgs.push(`${indentSpace}hostname: ${this.hostname}`);
138
msgs.push(`${indentSpace}path: ${this.path}`);
139
140
- msgs.push(`${indentSpace}params: `);
+ let paramTitle = `${indentSpace}params(${this.params.length}): `;
141
+ if (!this.params.length) {
142
+ paramTitle += " do not have param.";
143
+ }
144
+ msgs.push(paramTitle);
145
for (let param of this.params) {
146
msgs.push(param.toHumanReadable(indent + 4));
147
}
148
149
+
150
if (this.hash) {
151
msgs.push(`${indentSpace}hash: ${this.hash}`)
152
0 commit comments