Skip to content

Commit 7792076

Browse files
SAY-5SAY-5
andauthored
Fix 'occured' -> 'occurred' typo in mysql databases_data error log (DataDog#23336)
Two error log messages in mysql/datadog_checks/mysql/databases_data.py read 'the following exception occured {}'. Both are emitted from the fetch-database-data path and are user-visible in mysql check error output. ast.parse stays clean. Co-authored-by: SAY-5 <saiasish.cnp@gmail.com>
1 parent 001e8d4 commit 7792076

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mysql/datadog_checks/mysql/databases_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@ def _fetch_for_databases(self, db_infos, cursor):
275275
self._fetch_database_data(cursor, start_time, db_info['name'])
276276
except StopIteration as e:
277277
self._log.error(
278-
"While executing fetch database data for database {}, the following exception occured {}".format(
278+
"While executing fetch database data for database {}, the following exception occurred {}".format(
279279
db_info['name'], e
280280
)
281281
)
282282
return
283283
except Exception as e:
284284
self._log.error(
285-
"While executing fetch database data for database {}, the following exception occured {}".format(
285+
"While executing fetch database data for database {}, the following exception occurred {}".format(
286286
db_info['name'], e
287287
)
288288
)

0 commit comments

Comments
 (0)