We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2624e53 commit 6ecce2dCopy full SHA for 6ecce2d
Classes/Queue/DoctrineQueue.php
@@ -19,7 +19,6 @@
19
use Doctrine\DBAL\Exception\TableNotFoundException;
20
use Flowpack\JobQueue\Common\Queue\Message;
21
use Flowpack\JobQueue\Common\Queue\QueueInterface;
22
-use Neos\Flow\Annotations as Flow;
23
24
/**
25
* A queue implementation using doctrine as the queue backend
@@ -116,7 +115,7 @@ public function setUp(): void
116
115
$this->connection->exec($createDatabaseStatement);
117
try {
118
$this->connection->exec("CREATE INDEX state_scheduled ON {$this->connection->quoteIdentifier($this->tableName)} (state, scheduled)");
119
- } catch (Exception $e) {
+ } catch (DBALException $e) {
120
// See https://dba.stackexchange.com/questions/24531/mysql-create-index-if-not-exists
121
}
122
0 commit comments