mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 07:15:58 +00:00
fix
This commit is contained in:
@@ -133,11 +133,15 @@ const driver = {
|
|||||||
time: new Date(),
|
time: new Date(),
|
||||||
severity: 'info',
|
severity: 'info',
|
||||||
});
|
});
|
||||||
|
try {
|
||||||
options.info({
|
options.info({
|
||||||
message: JSON.stringify(resValue),
|
message: JSON.stringify(resValue),
|
||||||
time: new Date(),
|
time: new Date(),
|
||||||
severity: 'info',
|
severity: 'info',
|
||||||
});
|
});
|
||||||
|
} catch (err) {
|
||||||
|
console.log('Result cannot be stringified');
|
||||||
|
}
|
||||||
|
|
||||||
const arrayRes = findArrayResult(resValue);
|
const arrayRes = findArrayResult(resValue);
|
||||||
if (arrayRes) {
|
if (arrayRes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user