Commit 4ab3010e authored by Steve Müller's avatar Steve Müller

return 0 by default for exception conversion

parent 2b493692
...@@ -130,7 +130,7 @@ class Driver implements \Doctrine\DBAL\Driver ...@@ -130,7 +130,7 @@ class Driver implements \Doctrine\DBAL\Driver
return DBALException::ERROR_UNKNOWN_TABLE; return DBALException::ERROR_UNKNOWN_TABLE;
} }
return $exception->getCode(); 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