@defra-fish/connectors-lib 1.63.0-debug-airbrake-failure → 1.63.0-debug-airbrake-failure-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra-fish/connectors-lib",
3
- "version": "1.63.0-debug-airbrake-failure",
3
+ "version": "1.63.0-debug-airbrake-failure-3",
4
4
  "description": "Shared connectors",
5
5
  "type": "module",
6
6
  "engines": {
package/src/airbrake.js CHANGED
@@ -16,6 +16,7 @@ export const reset = () => {
16
16
  */
17
17
  export const initialise = () => {
18
18
  if (!airbrake && process.env.AIRBRAKE_PROJECT_KEY && process.env.AIRBRAKE_HOST) {
19
+ console.log('creating new Notifier', process.env.AIRBRAKE_PROJECT_KEY, process.env.AIRBRAKE_HOST, process.env.NODE_ENV)
19
20
  airbrake = new Notifier({
20
21
  projectId: 1,
21
22
  projectKey: process.env.AIRBRAKE_PROJECT_KEY,
@@ -71,6 +71,8 @@ const exec2xxOrNull = async requestPromise => {
71
71
  return (response.ok && response.body) || null
72
72
  }
73
73
 
74
+ export const doPreciselyNothing = () => {}
75
+
74
76
  /**
75
77
  * Create a new transaction in the sales API
76
78
  *