Changeset d1c160


Ignore:
Timestamp:
Nov 18, 2011, 2:36:57 AM (8 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
a529b0
Parents:
56301d
Message:

e.stack might not be defined if loading of module fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/vI_log.js

    r56301d rd1c160  
    203203
    204204function dumpCallStack(e) {
    205   let frame = e ? e.stack : Components.stack;
     205  let frame = (e && e.stack) ? e.stack : Components.stack;
    206206  while (frame) {
    207207    MyLog.debug("\n"+frame+"\n");
Note: See TracChangeset for help on using the changeset viewer.