Skip to content

Commit fc81854

Browse files
committed
Reduced log level for main proc errors
1 parent e4893b2 commit fc81854

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/PLSQLGatewayModule/PLSQLHttpModule.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,19 +257,19 @@ private void HandleRequest(object o, EventArgs a)
257257

258258
if (!success && ora.GetLastErrorText().IndexOf("PLS-00306:") > -1)
259259
{
260-
logger.Error("Call failed: " + ora.GetLastErrorText());
260+
logger.Warn("Call failed: " + ora.GetLastErrorText());
261261
logger.Debug("Wrong number or types of arguments in call. Will retry call after looking up parameter metadata in data dictionary.");
262262
success = ora.ExecuteMainProc(gReq.OwaProc, gReq.RequestParameters, true, gReq.ProcName);
263263
}
264264
else if (!success && ora.GetLastErrorText().IndexOf("ORA-01460:") > -1)
265265
{
266-
logger.Error("Call failed: " + ora.GetLastErrorText());
266+
logger.Warn("Call failed: " + ora.GetLastErrorText());
267267
logger.Debug("Unimplemented or unreasonable conversion requested. Will retry call after looking up parameter metadata in data dictionary.");
268268
success = ora.ExecuteMainProc(gReq.OwaProc, gReq.RequestParameters, true, gReq.ProcName);
269269
}
270270
else if (!success && ora.GetLastErrorText().IndexOf("ORA-00201:") > -1)
271271
{
272-
logger.Error("Call failed: " + ora.GetLastErrorText());
272+
logger.Warn("Call failed: " + ora.GetLastErrorText());
273273
logger.Debug("Identifier must be declared. Will retry call after looking up parameter metadata in data dictionary.");
274274
success = ora.ExecuteMainProc(gReq.OwaProc, gReq.RequestParameters, true, gReq.ProcName);
275275
}

source/PLSQLGatewayModule/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
//
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
34-
[assembly: AssemblyVersion("1.4.3.0")]
35-
[assembly: AssemblyFileVersion("1.4.3.0")]
34+
[assembly: AssemblyVersion("1.4.4.0")]
35+
[assembly: AssemblyFileVersion("1.4.4.0")]

0 commit comments

Comments
 (0)