Runner Tweaks (#62)

Co-authored-by: Steve Faulkner <stfaul@microsoft.com>
This commit is contained in:
Steve Faulkner
2020-06-25 18:59:44 -05:00
committed by GitHub
parent 3bf42b23dd
commit e5fc6f2022
3 changed files with 55 additions and 44 deletions

View File

@@ -13,3 +13,9 @@ module.exports.trackEvent = (...args) => {
client.trackEvent(...args);
}
};
module.exports.trackException = exception => {
if (client) {
client.trackException({ exception });
}
};