How to put BugID in file name?

delphi package - automated exception handling

How to put BugID in file name?

Postby cubic » Sat Jul 04, 2020 6:17 pm

I would like to have the BUGID in the mad/png file that is sent by email (as attachment). Preferably, both names will also have appended a unique ID (same for both the PNG and MAD file). Maybe a timestamp could be used as ID. This is already done in the email subject line.

Reason: this way, if I have (I do have) multiple bug reports I could simply download all files in one folder and inspect them, grouped by bug ID. Now, I have to download each attachement, rename it, then download the next one (next email), etc. If there are 40 bug reports/emails, this could take quite a while!!

The ideal format (I had this in EurekaLog) would be:

AppName ver1.x Bug3829FE EFileNotFoundException UserOrPcName TimeStamp.mad
AppName ver1.x Bug3829FE EFileNotFoundException UserOrPcName TimeStamp.png
cubic
 
Posts: 8
Joined: Thu May 14, 2015 8:28 pm

Re: How to put BugID in file name?

Postby madshi » Wed Jul 08, 2020 11:31 am

Easiest way would be to use RegisterExceptionHandler(stDontSync, epQuickFiltering), then modify the attachment settings in your handler, using e.g. "exceptIntf.ScreenShotSendAs". See here:

http://help.madshi.net/MESettings.htm#I ... hBugReport
madshi
Site Admin
 
Posts: 10274
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 16 guests

cron