F
fowlertrainer
Hello ,
I want to get the exception error msg in string, but I don't want to
save to file, or print.
I want to show it in memo.
How to I do it ?
gd=GTMain.GameDatas
s=self.Msg
log="Log:\nStart loading"
s.SetLabel(log)
try:
gd.LoadGamesDatas()
log=log+"\nGame datas succesfully loaded."
except:
import traceback
traceback.print_exc() <--------- what I must write ?
log=log+"\An error occured while loading !"
s.SetLabel(log)
Thanx.
I want to get the exception error msg in string, but I don't want to
save to file, or print.
I want to show it in memo.
How to I do it ?
gd=GTMain.GameDatas
s=self.Msg
log="Log:\nStart loading"
s.SetLabel(log)
try:
gd.LoadGamesDatas()
log=log+"\nGame datas succesfully loaded."
except:
import traceback
traceback.print_exc() <--------- what I must write ?
log=log+"\An error occured while loading !"
s.SetLabel(log)
Thanx.