Changes

Jump to navigation Jump to search
no edit summary
Line 14: Line 14:  
However, this approach had major drawbacks as sugar uses standard python logging and any changes in that would be too invasive and inefficient.
 
However, this approach had major drawbacks as sugar uses standard python logging and any changes in that would be too invasive and inefficient.
   −
===Method and Implementations===
+
===Method===
 
Whenever any uncaught exception is raised, the interpreter calls the sys.excepthook(type,value,traceback). After some discussions at #python, we learnt how this functionality could be used in this scenario and prepared a git diff of the file src/jarabe/journal/journalactivity.py
 
Whenever any uncaught exception is raised, the interpreter calls the sys.excepthook(type,value,traceback). After some discussions at #python, we learnt how this functionality could be used in this scenario and prepared a git diff of the file src/jarabe/journal/journalactivity.py
   −
===Code===
+
===Implementation Code===
    
The following is the git diff. Please find the explanations as comments -  
 
The following is the git diff. Please find the explanations as comments -  
Line 30: Line 30:     
2. Which GUI feature should be used to add the alert> Adding an alert in Journal looks fine for only Journal related exceptions.
 
2. Which GUI feature should be used to add the alert> Adding an alert in Journal looks fine for only Journal related exceptions.
 +
 +
===Contact===
 +
 +
Mukul Gupta
 +
mukul<at>seeta<do>in

Navigation menu