Capture errors CME
Added by xspintel 5 months ago
I hope you can help me, as CME could trap errors without having activated the option config.debug in true.
I hope you can help me with an example of it ...!
Thank you very much .. sorry my English is not good
Replies (3)
RE: Capture errors CME - Added by admin 5 months ago
Hi,
I am not sure what you mean. Can you elaborate?
Thanks
Regards
admin
RE: Capture errors CME - Added by xspintel 5 months ago
if you have a problem when sending an SMS. How could I know that kind of mistake CME shipping the phone, eg CME Error 500 that could be the most common.
Could capture that kind of error without having activated DebugMode.?
How could capture ..?
Private Sub mobileGateway_MessageSendingFailed(sender As Object, e As MessageErrorEventArgs) Handles mobileGateway.MessageSendingFailed
'
'
cLog.Escribir("[ ............ Envio Fallido, Telefono : " & Tel & " ID Carga : " & idCar & " Error : " & e.Error.Message & " ............... ]")
End Sub
RE: Capture errors CME - Added by admin 5 months ago
Hi,
In your code, are you able to see the error in the e.Error exception class?
For other operations, try the LastError property.
Thanks
Regards
admin
(1-3/3)