Skip to content

Conversation

igorwulff
Copy link
Member

No description provided.

@igorwulff igorwulff requested a review from leonhelmus April 7, 2023 08:07
@leonhelmus
Copy link

@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';

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()) {

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.

@igorwulff igorwulff merged commit 014b5b1 into YouweGit:main Apr 7, 2023
@igorwulff igorwulff deleted the igorwulff-patch-2 branch April 12, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants