Permalink
Browse files

Merge pull request #379 from prey/exceptions-fix

Fix exceptions device key error
  • Loading branch information...
javo committed Jun 21, 2018
2 parents 53ffc80 + 6150d7e commit db2b1379e1a62d062e895fdf8d1d2ffe80f15e9f
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/exceptions.js
View
@@ -1,5 +1,4 @@
var client = require('needle'),
- keys = require('./agent/plugins/control-panel/api/keys'),
host = 'http://exceptions.preyproject.com';
var opts = {
@@ -13,7 +12,8 @@ exports.send = function(err, cb) {
return cb && cb();
var version = require('./common').version,
- release = require('os').release;
+ release = require('os').release,
+ keys = require('./agent/plugins/control-panel/api/keys');
if (!err instanceof Error)
return cb && cb(new Error('Not an error.')); // paradox.

0 comments on commit db2b137

Please sign in to comment.