Skip to content

Commit cf63bb3

Browse files
committed
Temporarily disable dialog box in gui_alert for CI debugging
1 parent 5687513 commit cf63bb3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

internal/c/parts/gui/gui.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,10 @@ int gui_alert(const char *message, const char *title, const char *type) {
349349
// It is prudent to also write this to stderr.
350350
// This can be helpful when running tests in a GitHub runner environment where the dialog box may not be visible.
351351
// TODO: Probably we should adapt this to a timed terminal message box or prompt when running in $CONSOLE:ONLY mode.
352-
fprintf(stderr, "\nRuntime error: %s: %s\n", title, message);
353-
return tinyfd_messageBox(title, message, type, "error", 1);
352+
fprintf(stderr, "\nRuntime error: %s\n", message);
353+
fflush(stderr);
354+
return 0; // temporarily disable the dialog box to debug CI hangs
355+
//return tinyfd_messageBox(title, message, type, "error", 1);
354356
}
355357

356358
/// @brief This is used internally by libqb to show warning and failure messages

0 commit comments

Comments
 (0)