Skip to content

Commit 0c015ff

Browse files
committed
Add AlwaysThrowOnErrors trait to MiddlewareConnector
The AlwaysThrowOnErrors trait has been added to the MiddlewareConnector to ensure any errors are promptly thrown. This change enhances error handling and ensures that issues do not silently fail but are instead brought to the forefront for faster troubleshooting.
1 parent d167614 commit 0c015ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MiddlewareConnector.php

+2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@
5757
use Saloon\RateLimitPlugin\Limit;
5858
use Saloon\RateLimitPlugin\Stores\MemoryStore;
5959
use Saloon\RateLimitPlugin\Traits\HasRateLimits;
60+
use Saloon\Traits\Plugins\AlwaysThrowOnErrors;
6061

6162
class MiddlewareConnector extends Connector implements HasPagination
6263
{
6364
use HasRateLimits;
65+
use AlwaysThrowOnErrors;
6466

6567
public const BASE_URL_EU_DEV = 'https://eu-dev.middleware.ewarehousing-solutions.com';
6668
public const BASE_URL_EU = 'https://eu.middleware.ewarehousing-solutions.com';

0 commit comments

Comments
 (0)