Skip to content

Commit

Permalink
More details on integrity errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Devristo committed Dec 16, 2013
1 parent ba1632c commit 6827a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tribler/community/anontunnel/StatsCrawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def on_stats(self, community, candidate, stats):
self.conn.commit()

logger.warning("Storing stats data off %s:%d" % sock_address)
except sqlite3.IntegrityError:
logger.error("Already stored this stat")
except sqlite3.IntegrityError as e:
logger.exception("Error while storing stats")
except BaseException as e:
logger.exception(e)

Expand Down

0 comments on commit 6827a6b

Please sign in to comment.