Skip to content

Commit

Permalink
[db_oracle] Print "connection dropped" at debug level
Browse files Browse the repository at this point in the history
We change this to only used in debugging mode to determine if the error is a lost connection error.
The higher-level caller will prints more detailed error messages.
  • Loading branch information
GangZhuo committed Feb 1, 2023
1 parent d919285 commit 40016b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/db_oracle/dbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static const char* db_oracle_errorinfo(ora_con_t* con)
(OraText*)errbuf, sizeof(errbuf),
OCI_HTYPE_ERROR) != OCI_SUCCESS) errbuf[0] = '\0';
else if (db_oracle_connection_lost(errcd)) {
LM_ERR("connection dropped\n");
LM_DBG("connection dropped\n");
db_oracle_disconnect(con);
}

Expand Down

0 comments on commit 40016b5

Please sign in to comment.