Skip to content

Commit

Permalink
Remove debug code I added in #4
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 5, 2024
1 parent 28b2f63 commit 2a5d64f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions datasette_enrichments_quickjs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,7 @@ async def enrich_batch(
function.set_memory_limit(4 * 1024 * 1024) # 4MB
output_column = config["output_column"]
for row in rows:
try:
output = function(row)
except Exception as ex:
print(ex, repr(ex))
raise
output = function(row)
await db.execute_write(
"update [{table}] set [{output_column}] = ? where {wheres}".format(
table=table,
Expand Down

0 comments on commit 2a5d64f

Please sign in to comment.