Skip to content

Commit

Permalink
Add version prefix to error reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxa committed Jun 6, 2018
1 parent 967cd3c commit f20d0ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/error_reporter.js
Expand Up @@ -82,6 +82,7 @@ var errorReporter = module.exports = function errorReporter(exception, showError

try {
extra.version = electron.remote.app.getVersion();
exception.message = `${extra.version} - ${exception.message}`;
} catch (error) {
console.log("Error generatign error report");
console.error(error);
Expand Down

0 comments on commit f20d0ba

Please sign in to comment.