• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gturi / nca / 8277672099

14 Mar 2024 08:32AM UTC coverage: 86.091% (+0.1%) from 85.979%
8277672099

push

github

web-flow
Merge pull request #213 from gturi/feature/nca-alias-command

Feature/nca alias command

221 of 316 branches covered (69.94%)

Branch coverage included in aggregate %.

598 of 661 new or added lines in 62 files covered. (90.47%)

1 existing line in 1 file now uncovered.

1116 of 1237 relevant lines covered (90.22%)

1211.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

30.77
/src/exception/error-handler.ts
1
import { NcaConfig } from "../config/nca-config";
161✔
2

3
export class ErrorHandler {
161✔
4

5
  static run(fun: () => void) {
6
    try {
161✔
7
      fun();
161✔
8
    } catch (e) {
NEW
9
      if (e instanceof Error) {
×
NEW
10
        console.error(e.message);
×
NEW
11
        if (NcaConfig.isDebugEnabled()) {
×
NEW
12
          console.error(e);
×
13
        }
14
      } else {
NEW
15
        console.error(e);
×
16
      }
17
    }
18
  }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc