Skip to content
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

More verbose PHP errors logging for API #3427

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Conversation

kyrena
Copy link
Contributor

@kyrena kyrena commented Aug 4, 2023

Description

When an error occur with API, currently you can have something like this in system.log (from my memory): argument must be of type arrayapp/code/core/Mage/Sales/Model/Order/Creditmemo/Api/V2.php

With this PR, we have: argument must be of type array in app/code/core/Mage/Sales/Model/Order/Creditmemo/Api/V2.php on line 86

See #3346.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@kyrena kyrena changed the title Better PHP errors logging Better PHP errors logging for API Aug 4, 2023
@github-actions github-actions bot added the Component: Api PageRelates to Mage_Api label Aug 4, 2023
@fballiano fballiano merged commit d24b1fc into OpenMage:main Aug 17, 2023
15 checks passed
@fballiano fballiano changed the title Better PHP errors logging for API More verbose PHP errors logging for API Aug 17, 2023
@kyrena kyrena deleted the php-error-api branch September 13, 2023 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Api PageRelates to Mage_Api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants