Throw exception action should be able to prevent error logging
Problem/Motivation
The action plugin to throw exceptions causes Drupal to log an error, which in most cases is helpful. But in some cases, this creates unwanted error messages, e.g. if the NotFoundHttpException is thrown as this is just a regular behaviour on the site and not an error.
Proposed resolution
Add an option to that action plugin to turn error logging off. It should be on by default.
Edited by drupalbot