@peternlewis, it appears to me that the KM Engine Log file is NOT recording the Macro where a script error occurred.
See the below excerpt from the Log file, line #0012.
This shows the script error, but there is no information about which Macro the script was in.
KM Engine Log File
(in reverse chron order)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Results of Filter of Keyboard Maestro Engine Log on 2019-08-15 09:58 AM CT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of Last Lines To Filter: 20
RegEx Filter: "None" ""
Exclude Common Logs: NO
0019 2019-08-15 09:58:05 Execute macro “Display Last N Lines of KM Engine Log with Optional RegEx Filter @DEV @TODO” from trigger The Hot Key ⌃⌥⌘L is pressed
0018 2019-08-15 09:57:39 Search Regular Expression failed to match (?i)(?:()([\d\-\: ]+) (.+?) Macro “(.+?)” (\w+) \(while executing (.+?)\)\.)|(?:(?i)(Macro) “(.+?)” (\w+) \(while executing (.+?)\)\.\R([\d\-\: ]+) (.+?) \(-\d+\)\R)
0017 2019-08-15 09:57:39 Execute macro “Display Last KM Macro Error” from trigger The Hot Key ⌃⌥⌘E is pressed
0016 2019-08-15 09:57:03 Execute macro “R -- Display Menu of Recently RUN Macros @MRR (Author.@ccstone)” from trigger Duplicate Macro Palette
0015 2019-08-15 09:56:58 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0014 2019-08-15 09:56:57 Execute macro “@MOU Move Mouse to FrontMost Window When Window Changes” from trigger The Focused Window Changes
0013 2019-08-15 09:56:24 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0012 2019-08-15 09:56:24 /Users/Shared/Dropbox/SW/DEV/KM/Scripts/Open Script in Script Debugger (SD).scpt: execution error: Can’t get script "[LIB] JMichaelTX KM Lib AS". (-1728)
0011 2019-08-15 09:56:23 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0010 2019-08-15 09:55:24 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0009 2019-08-15 09:55:24 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0008 2019-08-15 09:55:23 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0007 2019-08-15 09:55:23 Execute macro “Auto-Select Forum Post or Script and Copy to Selected App @DEV @Brave” from trigger The Hot Key ⌃⌥⌘C is pressed
0006 2019-08-15 09:55:00 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0005 2019-08-15 09:55:00 Execute macro “Process All New Evernote Notes in .InBox NB @EN” from trigger Every 5 minutes between 0:00-23:59 every day
0004 2019-08-15 09:53:53 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0003 2019-08-15 09:53:52 Execute macro “@MOU Move Mouse to FrontMost Window When Window Changes” from trigger The Focused Window Changes
0002 2019-08-15 09:53:51 Variable “KMVAR_kmfamSelectData” excluded from environment to ensure the environment is not too large
0001 2019-08-15 09:53:51 Execute macro “Open URL in Outlook EMail @OL” from trigger The Hot Key ⌃P is pressed