improve connection request logging #6

Closed
dneufeld opened this Issue Jan 4, 2012 · 0 comments

Projects

None yet

2 participants

@dneufeld
Shopify member

The request method in the connection class doesn't log relevant information on connection errors.

Successful request:

[ActiveMerchant::Billing::AuthorizeNetGateway] POST https://secure.authorize.net/gateway/transact.dll
[ActiveMerchant::Billing::AuthorizeNetGateway] --> 200 OK (478 1.7270s)

Failed request:

[ActiveMerchant::Billing::ElavonGateway] POST https://www.myvirtualmerchant.com/VirtualMerchant/process.do

It would be great to have the connection error information in the application log.

@odorcicd odorcicd pushed a commit to odorcicd/active_utils that referenced this issue Feb 10, 2012
Denis Odorcic Improve connection request logging on errors (Closes #6) a6d77e5
@odorcicd odorcicd pushed a commit that closed this issue Feb 10, 2012
Denis Odorcic Improve connection request logging on errors (Closes #6) b127fd8
@odorcicd odorcicd closed this in b127fd8 Feb 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment