all files / util/ printStacktrace.js

25% Statements 1/4
100% Branches 0/0
0% Functions 0/1
25% Lines 1/4
1 2 3 4 5 6 7            
export default function printStacktrace() {
  try {
    throw new Error();
  } catch (err) {
    console.error(err.stack);
  }
}