Skip to content

Commit 180207c

Browse files
committed
🚧 fix(wip): dupe check is a warn and only shows up if verbose, checked and it works
1 parent d02b432 commit 180207c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎magnet/ize/memory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def index(self, payload, msg, verbose=False, field=None, charge=False, ins
8383
await self.field.pulse(payload)
8484
await msg.ack_sync()
8585
else:
86-
_f('info', f'embedding exists already\n{payload.text}')
86+
_f('warn', f'embedding exists already\n{payload.text}') if verbose else None
8787
await msg.ack_sync()
8888
except Exception as e:
8989
await msg.term()

0 commit comments

Comments
 (0)