Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
secrethash authored and github-actions[bot] committed Dec 8, 2024
1 parent a895028 commit b389315
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Bucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Vidwan\TenantBuckets;

use Aws\Credentials\Credentials;

use Aws\Exception\AwsException;
use Aws\S3\S3Client;
use Illuminate\Support\Facades\Log;
Expand All @@ -15,7 +14,6 @@

class Bucket
{

/**
* @var \AWS\Credentials\Credentials Credentials Object
*/
Expand Down Expand Up @@ -160,8 +158,9 @@ public function deleteBucket(string $name, Credentials $credentials): self
]);
} catch (AwsException $e) {
$this->e = $e;
if (config('tenant-buckets.errors.throw', true))
if (config('tenant-buckets.errors.throw', true)) {
throw $e;
}
Log::error($this->getErrorMessage());
}

Expand Down

0 comments on commit b389315

Please sign in to comment.