Revision: 4757
          http://sourceforge.net/p/vexi/code/4757
Author:   mkpg2
Date:     2015-01-13 04:53:57 +0000 (Tue, 13 Jan 2015)
Log Message:
-----------
Show stacktrace so missing icon can be located.

Modified Paths:
--------------
    branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/icon.t

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/icon.t
===================================================================
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/icon.t    
2015-01-13 04:39:16 UTC (rev 4756)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/icon.t    
2015-01-13 04:53:57 UTC (rev 4757)
@@ -97,13 +97,11 @@
         if(!r){
             
             var msg = "[WARNING] icon not found: "+subdir+"/"+name;
-            if(listed[subdir]){
-                msg+= " (^^ registered icons listed already)";
-            }else{
+            vexi.log.warn(new vexi.js.Exception(msg));                         
       
+            if(!listed[subdir]){
                 listed[subdir] = true;
-                msg+="\n"+list(subdir).join("\n    ");
+                vexi.log.warn(list(subdir).join("\n    "));
             }
-            vexi.log.warn(msg);                                
             r = icon[subdir]["blank"];                       
         }
         return r;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to