--allowed-errors option missing #1226
-
Type of issueCode doesn't work FeedbackThe example mentioned in the docs does not work. It appears the option Page URLContent source URLAuthorDocument Idcabe424a-1dbb-fd37-3752-4bc706f1016a |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Can you share the contents of your devproxyrc.json file? |
Beta Was this translation helpful? Give feedback.
-
Hi @waldekmastykarz, here it is, but does that matter for a missing option? {
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/rc.schema.json",
"plugins": [
{
"name": "RetryAfterPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll"
},
{
"name": "GenericRandomErrorPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "genericRandomErrorPlugin"
}
],
"urlsToWatch": [
"https://graph.microsoft.com/*",
"https://jsonplaceholder.typicode.com/*"
],
"genericRandomErrorPlugin": {
"errorsFile": "devproxy-errors.json"
},
"rate": 50,
"labelMode": "text",
"logLevel": "information",
"newVersionNotification": "stable"
} |
Beta Was this translation helpful? Give feedback.
-
You're using the |
Beta Was this translation helpful? Give feedback.
-
A while back, we refactored options, so that plugin-specific options are only exposed, when the corresponding plugin is enabled. Otherwise, you'd get an option that doesn't affect how Dev Proxy work which would be confusing. |
Beta Was this translation helpful? Give feedback.
-
💡Ah, I see now! Sorry, I've just completely misread this. It turns out there is no issue at all, except between the chair and the screen over here 😅 Let's close this ASAP! |
Beta Was this translation helpful? Give feedback.
-
All good! Better safe than sorry. Thanks for reaching out |
Beta Was this translation helpful? Give feedback.
You're using the
GenericRandomErrorPlugin
.--allowed-errors
is specific to theGraphRandomErrorPlugin
: https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/technical-reference/graphrandomerrorplugin