Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
norbybaru committed Aug 3, 2023
1 parent d21bf8e commit 3840ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/TimestreamService.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function write(TimestreamWriterDto $timestreamReader): \Aws\Result
private function ingest(array $payload): \Aws\Result
{
try {
dd($payload);
$result = $this->writer->writeRecords($payload);

Check failure on line 47 in src/TimestreamService.php

View workflow job for this annotation

GitHub Actions / phpstan

Unreachable statement - code above always terminates.
} catch (TimestreamWriteException $e) {
$records = $payload['Records'];
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/Traits/ConfigurableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public function getTimestreamConfig(): array
return [
'key' => env('AWS_TIMESTREAM_KEY'),
'secret' => env('AWS_TIMESTREAM_SECRET'),
'database' => env('AWS_TIMESTREAM_DATABASE'),
'database' => env('AWS_TIMESTREAM_DATABASE', 'laravel-aws-timestream'),
'tables' => [
'aliases' => [
'test' => 'test',
Expand Down

0 comments on commit 3840ca9

Please sign in to comment.