message: src/processor: fix log message.
diff: @@ -4,13 +4,16 @@ import {Callback} from './processor';
  import ErrorStackParser = require('error-stack-parser');
  +const hasConsole = typeof console === 'object' && console.warn;
  +
  +
  export default function processor(err: Error, cb: Callback): void {
  let frames: any[];
  try {
  frames = ErrorStackParser.parse(err);
  } catch (err) {
  - if (console && console.warn) {
  - console.warn('airbrake-js: error-stack-parser failed', err);
  + if (hasConsole) {
  + console.warn('airbrake-js: ErrorStackParser failed:', err.toString());
  }
  frames = [];
  }
  @@ -40,8 +43,8 @@ export default function processor(err: Error, cb: Callback): void {
  }
  if (type === '' && msg === '' && backtrace.length === 0) {
  - if (console && console.warn) {
  - console.warn('airbrake: can not process error', err);
  + if (hasConsole) {
  + console.warn('airbrake: can not process error:', err.toString());
  }
  return;
  }
  