@@ -60,7 +60,7 @@ class CreateAccountAlias extends ApiService
__FUNCTION__,
$this->api->account->getLastResult(),
'debug',
- $this->api->account->getLastResult()->getLastErrorCode()
+ $this->api->account->getError()
);
/**