Update Api.php

Mage::logException awaits an Object of type Exception.
Merge pull request #3 from vollyimnetz/patch-1

Update Api.php, fixing error where the Log excepts an object instead of a string.