title: Log failed queue jobs to file fallback
body: <p>If MySQL go down, there is any fallback options to log Failed Queue Jobs to file?</p>
  <p>I try</p>
  <pre><code>namespace App\Providers\AppServiceProvider;
  function register()
  
  Queue::failing(function (JobFailed $event)  {
      if($event-&gt;exception instanceof \PDOException){ 
          $data = [
              'code'              =&gt;  $event-&gt;exception-&gt;getCode(),
              'connectionName'    =&gt;  $event-&gt;connectionName,
              'getQueue'          =&gt;  $event-&gt;job-&gt;getQueue(),
              'getRawBody'        =&gt;  $event-&gt;job-&gt;getRawBody(),
              'exception'         =&gt;  (string)$event-&gt;exception,
          ];
          \App\Repositories\FailedJobMysqlDown::set($data);
      }
  });
  </code></pre>
  <p>but this check the reasons of jobs go down,
  i wanna catch inserting into failed_jobs exception</p>
  <pre><code>[2002] No such file or directory (SQL: insert into `failed_jobs` (`connection`, `queue`, `payload`, `exception`, `failed_at`) values (redis, superhigh, {&quot;ty................
  </code></pre>
  <p>Any Ideas?</p>
  <p>Thanks</p>