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.

throwErrorOnExtraParameters is not documented

See original GitHub issue

The following appears in several examples:

throwErrorOnExtraParameters: true

It is missing in the generated documentation, but is documented in the code as:

/**
 * If true then if the request JSON has extra parameters exceptions will be thrown.  Otherwise the
 * information will be logged.
 */

The documentation is not quite accurate, see discussion below.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
romanzollercommented, Mar 28, 2018

Ok, let’s not mix up the 2 things, if you want to create a new issue for the changed behavior, here is the example:

It doesn’t seem to work like that, e.g. I would have expected an error to be thrown with the flag set when passing an attribute "foo": "bar" in the attributes Object of the pdf generation request, since I didn’t specify a foo attribute in my config.yaml, but no error was thrown.

0reactions
romanzollercommented, Mar 28, 2018

As I said, I’m happy with the fixed doc, if anyone else is not, feel free to create an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Complying With Medical Record Documentation Requirements
If there is no response to the request for medical records, the CERT may also make a telephone call to solicit the documentation....
Read more >
MapFish Print 3 Documentation - Configuration
This section lists the available configuration components that can be used in the YAML configuration file. Example config.yaml. throwErrorOnExtraParameters: ...
Read more >
Sample config.yaml with all available options #600 - GitHub
For instance keys like throwErrorOnExtraParameters and transparentTileErrorColor only appear in the examples and certain configurations and ...
Read more >
Populating second subreport without data adapter - json ...
The problem is very simple to explain: I am not able to populate the 2nd ... throwErrorOnExtraParameters: true templates: A4 portrait: ...
Read more >
Issues printing OSM basemap using MapFishPrint 3
getSerializedLayers( mapComponent, function(layer) { // do not print the ... throwErrorOnExtraParameters: true templates: A4 portrait: ...
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