Skip to content

Commit 8559d44

Browse files
committed
include params in response when no mock found (signed agreement)
1 parent d8b53c6 commit 8559d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function buildConnectionClass (mocker) {
155155
const resolver = mocker.get(params)
156156

157157
if (resolver === null) {
158-
payload = { error: 'Mock not found' }
158+
payload = { error: 'Mock not found', params }
159159
statusCode = 404
160160
} else {
161161
payload = resolver(params)

0 commit comments

Comments
 (0)