mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-09-22 17:44:58 +02:00
update quotes in error regexes
This commit is contained in:
+40
-40
@@ -75,61 +75,61 @@ func GetErrorRegexes() []Error {
|
||||
[]string{
|
||||
`(?i)valid MySQL result`,
|
||||
`(?i)check the manual that (fits|corresponds to) your MySQL server version`,
|
||||
"(?i)MySQLSyntaxErrorException",
|
||||
"(?i)MySqlException",
|
||||
"(?i)MySql error",
|
||||
"(?i)Unknown column ",
|
||||
"(?i)SQL syntax.*?MySQL",
|
||||
"(?i)Warning.*?mysqli?",
|
||||
"(?i)Unknown column '[^ ]+' in 'field list'",
|
||||
"(?i)com\\.mysql\\.jdbc",
|
||||
"(?i)Zend_Db_(Adapter|Statement)_Mysqli_Exception",
|
||||
"(?i)Syntax error or access violation"},
|
||||
`(?i)MySQLSyntaxErrorException`,
|
||||
`(?i)MySqlException`,
|
||||
`(?i)MySql error`,
|
||||
`(?i)Unknown column `,
|
||||
`(?i)SQL syntax.*?MySQL`,
|
||||
`(?i)Warning.*?mysqli?`,
|
||||
`(?i)Unknown column '[^ ]+' in 'field list'`,
|
||||
`(?i)com\\.mysql\\.jdbc`,
|
||||
`(?i)Zend_Db_(Adapter|Statement)_Mysqli_Exception`,
|
||||
`(?i)Syntax error or access violation`},
|
||||
},
|
||||
{
|
||||
"MariaDB error",
|
||||
[]string{
|
||||
`(?i)check the manual that (fits|corresponds to) your MariaDB server version`,
|
||||
"(?i)MariaDB error"},
|
||||
`(?i)MariaDB error`},
|
||||
},
|
||||
{
|
||||
"PostgreSQL error",
|
||||
[]string{
|
||||
`(?i)valid PostgreSQL result`,
|
||||
"(?i)PG::SyntaxError:",
|
||||
"(?i)PSQLException",
|
||||
"(?i)PostgreSQL query failed",
|
||||
"(?i)ERROR: parser: parse error at or near",
|
||||
"(?i)PostgreSQL error",
|
||||
"(?i)PostgreSQL.*?ERROR",
|
||||
"(?i)Warning.*?\\Wpg_",
|
||||
"(?i)Npgsql\\.",
|
||||
"(?i)org\\.postgresql\\.util\\.PSQLException",
|
||||
"(?i)ERROR:\\s\\ssyntax error at or near",
|
||||
"(?i)org\\.postgresql\\.jdbc"},
|
||||
`(?i)PG::SyntaxError:`,
|
||||
`(?i)PSQLException`,
|
||||
`(?i)PostgreSQL query failed`,
|
||||
`(?i)ERROR: parser: parse error at or near`,
|
||||
`(?i)PostgreSQL error`,
|
||||
`(?i)PostgreSQL.*?ERROR`,
|
||||
`(?i)Warning.*?\\Wpg_`,
|
||||
`(?i)Npgsql\\.`,
|
||||
`(?i)org\\.postgresql\\.util\\.PSQLException`,
|
||||
`(?i)ERROR:\\s\\ssyntax error at or near`,
|
||||
`(?i)org\\.postgresql\\.jdbc`},
|
||||
},
|
||||
{
|
||||
"MSSQL error",
|
||||
[]string{
|
||||
`(?i)Microsoft SQL error`,
|
||||
"(?i)Microsoft SQL Native Client error",
|
||||
"(?i)ODBC SQL Server Driver",
|
||||
"(?i)Unclosed quotation mark after the character string",
|
||||
"(?i)SQLServer JDBC Driver",
|
||||
"(?i)Driver.*? SQL[\\-\\_\\ ]*Server",
|
||||
"(?i)OLE DB.*? SQL Server",
|
||||
"(?i)\bSQL Server[^<"]+Driver",
|
||||
"(?i)Warning.*?\\W(mssql|sqlsrv)_",
|
||||
"(?i)\bSQL Server[^<"]+[0-9a-fA-F]{8}",
|
||||
"(?i)System\\.Data\\.SqlClient\\.SqlException",
|
||||
"(?is)Exception.*?\bRoadhouse\\.Cms\\.",
|
||||
"(?i)\\[SQL Server\\]",
|
||||
"(?i)ODBC Driver \\d+ for SQL Server",
|
||||
"(?i)com\\.jnetdirect\\.jsql",
|
||||
"(?i)macromedia\\.jdbc\\.sqlserver",
|
||||
"(?i)Zend_Db_(Adapter|Statement)_Sqlsrv_Exception",
|
||||
"(?i)com\\.microsoft\\.sqlserver\\.jdbc",
|
||||
"(?i)SQL(Srv|Server)Exception"},
|
||||
`(?i)Microsoft SQL Native Client error`,
|
||||
`(?i)ODBC SQL Server Driver`,
|
||||
`(?i)Unclosed quotation mark after the character string`,
|
||||
`(?i)SQLServer JDBC Driver`,
|
||||
`(?i)Driver.*? SQL[\\-\\_\\ ]*Server`,
|
||||
`(?i)OLE DB.*? SQL Server`,
|
||||
`(?i)\bSQL Server[^<"]+Driver`,
|
||||
`(?i)Warning.*?\\W(mssql|sqlsrv)_`,
|
||||
`(?i)\bSQL Server[^<"]+[0-9a-fA-F]{8}`,
|
||||
`(?i)System\\.Data\\.SqlClient\\.SqlException`,
|
||||
`(?is)Exception.*?\bRoadhouse\\.Cms\\.`,
|
||||
`(?i)\\[SQL Server\\]`,
|
||||
`(?i)ODBC Driver \\d+ for SQL Server`,
|
||||
`(?i)com\\.jnetdirect\\.jsql`,
|
||||
`(?i)macromedia\\.jdbc\\.sqlserver`,
|
||||
`(?i)Zend_Db_(Adapter|Statement)_Sqlsrv_Exception`,
|
||||
`(?i)com\\.microsoft\\.sqlserver\\.jdbc`,
|
||||
`(?i)SQL(Srv|Server)Exception`},
|
||||
},
|
||||
{
|
||||
"OracleDB error",
|
||||
|
||||
Reference in New Issue
Block a user