Skip to content

Commit

Permalink
增加时间格式错误调试日志
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovintit committed Nov 16, 2019
1 parent 6f0e7c7 commit ba42aa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Middleware/VerifyApiSignature.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function subHandle($request, Closure $next)
throw new RequestTimeInvalidException();
}
} catch (Exception $exception) {
logs()->error($exception->__toString());
throw new TimestampFormatInvalidException();
}
/*
Expand Down

0 comments on commit ba42aa3

Please sign in to comment.