File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ Style/VerboseBlock:
31
31
Enabled : true
32
32
Severity : Convention
33
33
34
+ Documentation/DocumentationAdmonition :
35
+ Enabled : false
34
36
# Problems found: 1
35
37
# Run `ameba --only Lint/LiteralInCondition` for details
36
38
Lint/LiteralInCondition :
@@ -55,3 +57,11 @@ Lint/UselessAssign:
55
57
- src/sidekiq/web.cr
56
58
Enabled : true
57
59
Severity : Warning
60
+ Naming/AccessorMethodName :
61
+ Excluded :
62
+ - src/sidekiq/web_helpers.cr
63
+ Naming/BlockParameterName :
64
+ Enabled : false
65
+ Naming/AsciiIdentifiers :
66
+ Excluded :
67
+ - src/sidekiq/server/heartbeat.cr
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@master
23
23
24
24
- name : Crystal Ameba Linter
25
- uses : crystal-ameba/github-action@v0.7.1
25
+ uses : crystal-ameba/github-action@v0.9.0
26
26
env :
27
27
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
28
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ module Sidekiq
19
19
ctx.error_handlers.each do |handler |
20
20
begin
21
21
handler.call(ex, ctx_hash)
22
- rescue ex2
23
- ctx.logger.error(exception: ex2 ) { " !!! ERROR HANDLER THREW AN ERROR !!!" }
22
+ rescue e
23
+ ctx.logger.error(exception: e ) { " !!! ERROR HANDLER THREW AN ERROR !!!" }
24
24
end
25
25
end
26
26
end
You can’t perform that action at this time.
0 commit comments