diff --git a/eddn_listener/schemas/journalv5.js b/eddn_listener/schemas/journalv5.js index 81a70f4..c429cd6 100644 --- a/eddn_listener/schemas/journalv5.js +++ b/eddn_listener/schemas/journalv5.js @@ -48,7 +48,12 @@ function Journal() { this.trackSystem = async (message, header) => { let mongoSession = await mongoose.startSession() if (!header.gameversion || parseFloat(header.gameversion) < 4) { - throw new Error('Message from Legacy Game Version ' + header.gameversion) + const errorMessage = 'Message from Legacy Game Version ' + header.gameversion + bugsnagCaller(new Error(errorMessage), { + metaData: { + message: errorMessage + } + }) } if (message.event === 'FSDJump' || message.event === 'Location' || message.event === 'CarrierJump') { try {