picodb: include error code in SQLException error message
This commit is contained in:
parent
64f589f759
commit
427abb9961
|
|
@ -350,6 +350,6 @@ class StatementHandler
|
|||
return false;
|
||||
}
|
||||
|
||||
throw new SQLException('SQL Error: '.$e->getMessage());
|
||||
throw new SQLException('SQL Error['.$e->getCode().']: '.$e->getMessage());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue