Skip to content

Commit

Permalink
Replacing createError w/ createErrorFromThrowable (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafix authored Apr 29, 2021
1 parent bf8ef37 commit 323cade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Interactor/ElasticApmInteractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function addCustomContext(string $name, $value): bool

public function noticeThrowable(\Throwable $e, string $message = null): void
{
ElasticApm::createError($e);
ElasticApm::createErrorFromThrowable($e);
}

public function beginTransaction(string $name, string $type, ?float $timestamp = null, ?DistributedTracingData $distributedTracingData = null): ?TransactionInterface
Expand Down

0 comments on commit 323cade

Please sign in to comment.