Skip to content

Commit f6b27e3

Browse files
committed
Minor tweak
1 parent 75e1762 commit f6b27e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/informixHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ function queryInformix (query) {
104104
try {
105105
dbConnection = informix.openSync(connectionString)
106106
} catch (ex) {
107-
logger.error(`Informix connection error: ${ex}`)
107+
logger.error(`Informix connection error: ${JSON.stringify(ex)}`)
108108
return null
109109
}
110110
}
111111
let result = null
112112
try {
113113
result = dbConnection.querySync(query)
114114
} catch (ex) {
115-
logger.error(`Informix query error: ${ex}`)
115+
logger.error(`Informix query error: ${JSON.stringify(ex)}`)
116116
}
117117

118118
return result

0 commit comments

Comments
 (0)