mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 23:14:03 +00:00
Better exception from DomainTenantResolver
This commit is contained in:
parent
7bdbc082cc
commit
057ddcbbae
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class DomainTenantResolver extends Contracts\CachedTenantResolver
|
|||
return $domain->tenant;
|
||||
}
|
||||
|
||||
throw new TenantCouldNotBeIdentifiedOnDomainException($domain);
|
||||
throw new TenantCouldNotBeIdentifiedOnDomainException($args[0]);
|
||||
}
|
||||
|
||||
public function getArgsForTenant(Tenant $tenant): array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue