Skip to content

Commit

Permalink
Add ossec debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekj117 committed May 15, 2021
1 parent 724e764 commit bc5d4b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions securedrop/source_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ def submit() -> werkzeug.Response:
first_submission = g.source.interaction_count == 0

if not os.path.exists(current_app.storage.path(g.filesystem_id)):
current_app.logger.debug("Store directory not found for source '{}', creating one."
.format(g.source.journalist_designation))
os.mkdir(current_app.storage.path(g.filesystem_id))

if msg:
Expand Down

0 comments on commit bc5d4b1

Please sign in to comment.