Skip to content

Commit

Permalink
🚧 fix(wip): dupe check is a warn and only shows up if verbose, checke…
Browse files Browse the repository at this point in the history
…d and it works
  • Loading branch information
mxchinegod committed Jan 22, 2024
1 parent d02b432 commit 180207c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnet/ize/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def index(self, payload, msg, verbose=False, field=None, charge=False, ins
await self.field.pulse(payload)
await msg.ack_sync()
else:
_f('info', f'embedding exists already\n{payload.text}')
_f('warn', f'embedding exists already\n{payload.text}') if verbose else None
await msg.ack_sync()
except Exception as e:
await msg.term()
Expand Down

0 comments on commit 180207c

Please sign in to comment.