Skip to content

Commit c5bb802

Browse files
committed
refactor: tweak of file mode for dump errors
1 parent 7a970c1 commit c5bb802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dve/core_engine/backends/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def dump_errors(
208208
error["Key"] = conditional_cast(error["Key"], primary_keys, value_separator=" -- ")
209209
processed.append(error)
210210

211-
with fh.open_stream(errors, "a+") as f:
211+
with fh.open_stream(errors, "a") as f:
212212
json.dump(
213213
processed,
214214
f,

0 commit comments

Comments
 (0)