-
Notifications
You must be signed in to change notification settings - Fork 0
Igorwulff patch 2 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Mechanic for cleaning is still not efficient and batch size could be made higher possibly.
@igorwulff Please change the composer name of the module otherwise it will be hard to require it from packagist. |
protected const WEBAPI_LOGS_IS_ENABLED_CONFIG_PATH = 'webapi_logs/log/enabled'; | ||
|
||
|
||
protected const WEBAPI_LOGS_DISABLED_AJAX_CALLS = 'webapi_logs/log/disable_ajax_calls'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make this private instead of protected.
$this->lastLog = $log; | ||
} catch (Exception $exception) { | ||
$this->logger->error(__('Cant complete webapi log save because of error: %1', $exception->getMessage())); | ||
if ($this->config->isSecretMode()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about removing this try catch? It seems like it could trigger and should be catched.
No description provided.