You are not logged in.
Pages: 1
Hi,
When I configure the logger with sllException level:
with TSQLLog.Family to
begin
Level: = [sllInfo, sllWarning, sllError, sllLastError, sllExceptionOS, sllException];
end;
then mORMot will capture any exceptions that appear in applications (and in threads, this is very good!) and store them in the log. Even these that are caught in a try ... except. However, sometimes very useful it would be the ability to bypass the known and expected exception types.
Did you could add to logger opportunity to register exception classes, which will skipped in the log?
with TSQLLog.Family to
begin
Level: = [sllInfo, sllWarning, sllError, sllLastError, sllExceptionOS, sllException];
RegisterExpectedException(EMyException);
RegisterExpectedException(EMyOtherException);
end;
Thanks :-)
Offline
That exists, the name is IgnoreExceptionor something like that.
Esteban
Offline
I found in sources "IgnoreException" string only once in SynBidirSock.pas:
/// low level WebSockets framing protocol
function GetFrame(out Frame: TWebSocketFrame; TimeOut: cardinal; IgnoreExceptions: boolean): boolean;
Offline
Pages: 1