module errors - also report to stderr immediately to aid in debug

delaying the module error may mean you never see it, so display
immediately on stderr
This commit is contained in:
Carsten Haitzler 2019-07-19 10:55:30 +01:00
parent 9df606dff4
commit 646fde45de
1 changed files with 1 additions and 2 deletions

View File

@ -797,8 +797,6 @@ _e_module_dialog_disable_show(const char *title, const char *body, E_Module *m)
E_Dialog *dia;
char buf[4096];
printf("MODULE ERR:\n%s\n", body);
dia = e_dialog_new(NULL, "E", "_module_unload_dialog");
snprintf(buf, sizeof(buf), "%s<ps/>%s", body,
@ -834,6 +832,7 @@ _e_module_dialog_disable_create(const char *title, const char *body, E_Module *m
dd->body = strdup(body);
dd->m = m;
ecore_timer_loop_add(1.5, (Ecore_Task_Cb)_e_module_dialog_disable_timer, dd);
fprintf(stderr, "MODULE ERR: [%s]\n%s\n", title, body);
}
static void