Commit 4160eb17 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix another check for PostgreSQL

parent bc46c989
...@@ -151,6 +151,10 @@ class Driver implements \Doctrine\DBAL\Driver ...@@ -151,6 +151,10 @@ class Driver implements \Doctrine\DBAL\Driver
return DBALException::ERROR_ACCESS_DENIED; return DBALException::ERROR_ACCESS_DENIED;
} }
if (stripos($exception->getMessage(), 'does not exist') !== false) {
return DBALException::ERROR_ACCESS_DENIED;
}
return 0; return 0;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment