question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Response of wrong operation returned when no exact dispatching

See original GitHub issue

we have noticed the following strange behaviour, which fully blocks us now: Given two operations:

GET /pastry/{name} GET /pastry/{name}/details

both have there own examples. If I now call GET /pastry/mycaffee/details - where mycaffee is the value for name, but don’t have an example defined for this value - I will get the mock response from GET /pastry/{name}. So it seems, that if there is no matching mock for a given value, it just ignores the path and drops back to the path higher in the hierarchy.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lbroudouxcommented, Jun 15, 2022

OK noticed! Maybe we could add a spec.registry in the CRD. Once specified it would be used in place of the default quay.io. What do you think?

0reactions
imodcommented, Jun 15, 2022

sounds perfect!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is an 'error dispatch' in servlet processing?
Dispatches made by the container during exceptions/errors are called error dispatches. These are usually dispatches to error pages. There is no way to...
Read more >
Operation returned an invalid status code Forbidden
Models.APIErrorException: Operation returned an invalid status code Forbidden. receiving the error while calling the face api. Microsoft.Azure.
Read more >
16 Handling Exceptions Using SOAP Faults
The faults are returned to the sender only if request/response messaging is in use. If a Web service operation is configured as one-way,...
Read more >
How to Resolve Remove-AzKeyVaultKey : Operation returned ...
You must go to the Azure Portal, navigate to your Key Vault, go to Access Policies, and grant the user running this cmdlet...
Read more >
Operation | Apple Developer Documentation
Because the Operation class is an abstract class, you do not use it directly but ... by isFinished to true and the value...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found