Skip to content

Commit

Permalink
fix: Incorrect error messages in config assert module
Browse files Browse the repository at this point in the history
Fixes #566
  • Loading branch information
Göran Sander committed Oct 5, 2022
1 parent 3c85cf2 commit f4e2ef8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/assert/assert_config_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const configFileNewRelicAssert = async (config, configQRS, logger) => {
}
});
} catch (err) {
logger.error(`SCRIPTLOG: ${err}`);
logger.error(`ASSERT CONFIG NEW RELIC: ${err}`);
}
} else {
// eslint-disable-next-line no-lonely-if
Expand Down Expand Up @@ -132,7 +132,7 @@ const configFileNewRelicAssert = async (config, configQRS, logger) => {
}
});
} catch (err) {
logger.error(`SCRIPTLOG: ${err}`);
logger.error(`ASSERT CONFIG NEW RELIC: ${err}`);
}
} else {
// eslint-disable-next-line no-lonely-if
Expand Down Expand Up @@ -195,7 +195,7 @@ const configFileNewRelicAssert = async (config, configQRS, logger) => {
}
});
} catch (err) {
logger.error(`SCRIPTLOG: ${err}`);
logger.error(`ASSERT CONFIG NEW RELIC: ${err}`);
}
} else {
// eslint-disable-next-line no-lonely-if
Expand Down Expand Up @@ -260,7 +260,7 @@ const configFileNewRelicAssert = async (config, configQRS, logger) => {
}
});
} catch (err) {
logger.error(`SCRIPTLOG: ${err}`);
logger.error(`ASSERT CONFIG NEW RELIC: ${err}`);
}
} else {
// eslint-disable-next-line no-lonely-if
Expand Down

0 comments on commit f4e2ef8

Please sign in to comment.