Skip to content

Commit

Permalink
scrutinizer namespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Davis Peixoto committed Aug 11, 2016
1 parent 25d77c4 commit ef4c5a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Davispeixoto/LaravelSalesforce/Salesforce.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Davispeixoto\LaravelSalesforce;

use Davispeixoto\ForceDotComToolkitForPhp\SforceEnterpriseClient as Client;
use SalesforceException;
use Exception;
use Illuminate\Config\Repository;

Expand Down Expand Up @@ -49,7 +48,7 @@ public function __construct(Repository $configExternal)
$token = $configExternal->get('laravel-salesforce::token');

$this->sfh->login($username, $password . $token);

} catch (Exception $e) {
throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
}
Expand Down

0 comments on commit ef4c5a8

Please sign in to comment.