Skip to content

Commit

Permalink
Update RawData.php
Browse files Browse the repository at this point in the history
  • Loading branch information
StyxOfDynamite authored Sep 9, 2024
1 parent 9f4beb6 commit 51641cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Traits/RawData.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/

namespace Pipedrive\Traits;
use Throwable;

/**
* PHP version 7.3
Expand Down Expand Up @@ -63,7 +64,7 @@ public function setRawData(mixed $rawData): void
} else {
$this->rawData = $rawData;
}
} catch (Error) {
} catch (Throwable $e) {
$this->rawData = $rawData;
}
}
Expand Down

0 comments on commit 51641cf

Please sign in to comment.