Skip to content

Use an exception catching to avoid a stack trace#5957

Merged
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
Gu1nness:5734-1.1-maint
Aug 14, 2021
Merged

Use an exception catching to avoid a stack trace#5957
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
Gu1nness:5734-1.1-maint

Conversation

@Gu1nness
Copy link
Contributor

When exclude files are used, this can trigger a stack trace if the file
does not exist. Instead exit nicely without the stacktrace.

When exclude files are used, this can trigger a stack trace if the file
does not exist. Instead exit nicely without the stacktrace.
@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2021

Codecov Report

Merging #5957 (c12fc71) into 1.1-maint (3044a34) will decrease coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@              Coverage Diff              @@
##           1.1-maint    #5957      +/-   ##
=============================================
- Coverage      79.78%   79.75%   -0.04%     
=============================================
  Files             27       27              
  Lines          10460    10464       +4     
  Branches        1841     1841              
=============================================
  Hits            8346     8346              
- Misses          1590     1594       +4     
  Partials         524      524              
Impacted Files Coverage Δ
src/borg/patterns.py 91.37% <66.66%> (-0.86%) ⬇️
src/borg/archiver.py 80.97% <0.00%> (-0.15%) ⬇️
src/borg/helpers.py 87.84% <0.00%> (-0.08%) ⬇️
src/borg/remote.py 80.12% <0.00%> (ø)
src/borg/archive.py 81.24% <0.00%> (+0.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3db40c...c12fc71. Read the comment docs.

@ThomasWaldmann ThomasWaldmann merged commit abbc8a6 into borgbackup:1.1-maint Aug 14, 2021
@ThomasWaldmann
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants