Skip to content

Commit

Permalink
Fix JSON log not being saved to the database in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Sep 22, 2024
1 parent 7b87ff0 commit bccd9a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### 🔧 Fixed

* Fix JSON log not being saved to the database in some cases.


## 0.1.3 - 2024-09-20

### ✨ Improved
Expand Down
2 changes: 1 addition & 1 deletion src/lvmcryo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ async def ln2(

if write_json:
json_path = config.log_path.with_suffix(".json")
add_json_handler(log, json_path)
json_handler = add_json_handler(log, json_path)

else:
# We're still creating log files, but to a temporary location. This is
Expand Down

0 comments on commit bccd9a6

Please sign in to comment.