Skip to content

Commit 8358ce2

Browse files
aldrickdevaldrick.castro
and
aldrick.castro
authored
Fixes uncaught error (#20174)
Co-authored-by: aldrick.castro <aldrick.castro@d>
1 parent d73f66d commit 8358ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/datadog_checks/mysql/mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ def _get_query_exec_time_95th_us(self, db):
12511251
query_exec_time_95th_per = row[0]
12521252

12531253
return query_exec_time_95th_per
1254-
except (pymysql.err.InternalError, pymysql.err.OperationalError) as e:
1254+
except (pymysql.err.InternalError, pymysql.err.OperationalError, pymysql.err.InterfaceError) as e:
12551255
self.warning("95th percentile performance metrics unavailable at this time: %s", e)
12561256
return None
12571257

0 commit comments

Comments
 (0)