Skip to content

Commit

Permalink
Merge pull request #296 from Hanson/analysis-zd5Dmb
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Hanson authored Jun 28, 2019
2 parents 2b4c52c + b516d64 commit 9365738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ protected function init($first = true)
$result = $this->vbot->http->json($url, [
'BaseRequest' => $this->vbot->config['server.baseRequest'],
], true);

ApiExceptionHandler::handle($result, function ($result) {
$this->vbot->cache->forget('session.'.$this->vbot->config['session']);
$this->vbot->log->error('Init failed.'.json_encode($result));
Expand Down

0 comments on commit 9365738

Please sign in to comment.