Log version to raygun

This commit is contained in:
Marks Polakovs 2020-04-12 10:13:41 +02:00
parent 20b5a6c577
commit 27e51620b8

View file

@ -11,6 +11,9 @@ import { Provider } from "react-redux";
raygun("apiKey", "mtj24r3YzPoYyCG8cVArA");
raygun("enableCrashReporting", true);
if (typeof process.env.REACT_APP_VERSION === "string" && process.env.REACT_APP_VERSION.length > 0) {
raygun("setVersion", process.env.REACT_APP_VERSION);
}
function render() {
ReactDOM.render(