Android Question ignore service error ?

Devv

Active Member
Licensed User
Longtime User
How could i tell my service what ever error happens ignore it without getting service stopped .
is their is a way to achieve this without me making try catch block for each function ?

PS: and how could i make try block with empty catch ?
 

sorex

Expert
Licensed User
Longtime User
you should figure out why the error happends and try to write a solution for it, worst case you can use the try/catch as you suggested.


PS: just leave it empty

B4X:
try
some code
catch
end try
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
No
 
Upvote 0
Top