From 1b70f5a1b5b3f052844d98ecc17ed54a932a7113 Mon Sep 17 00:00:00 2001 From: Kevin Bullaughey Date: Wed, 22 Nov 2017 12:32:19 -0500 Subject: [PATCH 1/2] rethrow error in join so as to not swallow it in the presence of an error handler --- lib/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.ts b/lib/index.ts index aff865f8..e63549d8 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -272,6 +272,7 @@ export default class Backburner { return method.apply(target, args); } catch (error) { onError(error); + throw error; } } else { return method.apply(target, args); From 8495ee16a21b309589553a8e448d95c62d40b3d7 Mon Sep 17 00:00:00 2001 From: Kevin Bullaughey Date: Wed, 22 Nov 2017 12:34:12 -0500 Subject: [PATCH 2/2] whitespace --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index e63549d8..d129f0ad 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -272,7 +272,7 @@ export default class Backburner { return method.apply(target, args); } catch (error) { onError(error); - throw error; + throw error; } } else { return method.apply(target, args);