#1 2022-10-19 14:29:01

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 218
Website

IRestOrm - Retrieve Error Information

Hi,

when using IRestOrm (mORMot2) and running into an error, it would be nice to get access to the error code returned by the sql engine.
Internally it runs TSqlRequest.Step and that raises an ESqlite3Exception, but the user of IRestOrm cannot get any details on the error occured.

Is there a way to access those information for possible internal handling of such situations.

Regards,
Daniel

Last edited by sakura (2022-10-19 14:34:48)

Offline

#2 2022-11-07 09:29:54

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 218
Website

Re: IRestOrm - Retrieve Error Information

No one else wondering what the last error has been? How do you retrieve it, when using IRestOrm interface?

Offline

#3 2022-11-07 09:56:38

igors233
Member
Registered: 2012-09-10
Posts: 233

Re: IRestOrm - Retrieve Error Information

Yes that would be nice, I usually notice there's something wrong on client side (no results) and then connect to server and check logs.

Offline

Board footer

Powered by FluxBB