Skip to content

public function installed(): bool #897

@lesvere

Description

@lesvere

namespace Hyn\Tenancy \Enviroment;
line: 66-0

try {
$tableExists = $connection->getSchemaBuilder()->hasTable($table);
} catch (\Exception $exception){
throw new \Exception('','','')
} finally {
return $tableExists ?? false;
}

When catch exception example DBException, it can't not throw exception.
It spent me over 3 hours to find it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    infoNeed more infosupportQuestion or generic support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions