Skip to content

Commit c04b162

Browse files
authored
Better exceptions handling (#169)
1 parent 306d35a commit c04b162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql_ch_replicator/binlog_replicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def run(self):
536536
except OperationalError as e:
537537
logger.error(f'operational error {str(e)}', exc_info=True)
538538
time.sleep(15)
539-
except Exception:
539+
except Exception as e:
540540
logger.error(f'unhandled error {str(e)}', exc_info=True)
541541
raise
542542

0 commit comments

Comments
 (0)