Skip to content

Commit c52235d

Browse files
authored
Update AlwaysThrowsOnErrors.php
1 parent 1ee28c3 commit c52235d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Features/AlwaysThrowsOnErrors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait AlwaysThrowsOnErrors
1515
*/
1616
public function bootAlwaysThrowsOnErrorsFeature()
1717
{
18-
if ($this->traitExistsOnConnector(AlwaysThrowsOnErrors::class)) {
18+
if ($this instanceof SaloonRequest && $this->traitExistsOnConnector(AlwaysThrowsOnErrors::class)) {
1919
return;
2020
}
2121

0 commit comments

Comments
 (0)