Skip to content

Conversation

samgavinio
Copy link
Contributor

/cc @zendesk/mintegrations

Description

Records an error level log when an exception is caught when fetching customer tickets.

References

Risks

  • [medium] Page may error when an exception is thrown instead of recording a log.

}

} else {
Mage::log('Magento failed to return current customer.', null, 'zendesk.log');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do a return here and exit earlier? aside from that 👍

@samgavinio samgavinio merged commit 23905ae into master Sep 20, 2016
@samgavinio samgavinio deleted the samgavinio/MI-861-log-empty-customer-ticket branch September 20, 2016 02:34
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