raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=646fde45de8eb39653e1d9bb49203456ff6e73f8

commit 646fde45de8eb39653e1d9bb49203456ff6e73f8
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Jul 19 10:55:30 2019 +0100

    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
---
 src/bin/e_module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index 4cda9e0a8..49686d0a8 100644
--- a/src/bin/e_module.c
+++ b/src/bin/e_module.c
@@ -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

-- 


Reply via email to