Skip to content

Commit

Permalink
Merge pull request #1999 from AllenInstitute/bugfix/1999-better-outpu…
Browse files Browse the repository at this point in the history
…t-for-bug-message

BUG/BUG_TS: Prefix messages with MIES
  • Loading branch information
t-b authored Feb 11, 2024
2 parents 66ab13e + 1ebca1f commit 925bf75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Packages/MIES/MIES_Debugging.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,9 @@ Function BUG(string msg, [WAVE/T keys, WAVE/T values])
msg = RemoveEnding(msg, "\r")

if(!isEmpty(func))
printf "BUG %s(...)#L%s: %s\r", func, line, msg
printf "%s BUG %s(...)#L%s: %s\r", PACKAGE_MIES, func, line, msg
else
printf "BUG: %s\r", msg
printf "%s BUG: %s\r", PACKAGE_MIES, msg
endif

ReportBugToLogfile(msg, keys, values)
Expand All @@ -568,7 +568,7 @@ threadsafe Function BUG_TS(string msg, [WAVE/T keys, WAVE/T values])

ReportBugToLogfile(msg, keys, values)

printf "BUG_TS: %s\r", msg
printf "%s BUG_TS: %s\r", PACKAGE_MIES, msg

#ifdef AUTOMATED_TESTING

Expand Down

0 comments on commit 925bf75

Please sign in to comment.