Skip to content

Commit

Permalink
Fix wrong path of cache exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
steven.chiu committed Jun 5, 2019
1 parent c86fc02 commit dbb1061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JobScheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function run(callable $cb = null)
echo "Prepare to quit...\n";

return;
} catch (wxception\CacheException $exception) {
} catch (CacheException $exception) {
echo "Exception:$exception\n";
echo "Prepare to quit...\n";

Expand Down Expand Up @@ -120,7 +120,7 @@ public function monitorExpireKey($redisConf, $looper)
$this->keyEventMonitor($redisConnectPub);
} catch (\RedisException $exception) {
echo "Exception:$exception\n";
} catch (TimeWork\CacheException $exception) {
} catch (CacheException $exception) {
echo "Exception:$exception\n";
}
}
Expand Down

0 comments on commit dbb1061

Please sign in to comment.