Skip to content

Commit 443f1e5

Browse files
authored
Merge pull request #34 from NCAR/hua-work-common
add break line for email errors
2 parents 8929570 + 80894e1 commit 443f1e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rda_python_common"
7-
version = "1.0.28"
7+
version = "1.0.29"
88
authors = [
99
{ name="Zaihua Ji", email="zji@ucar.edu" },
1010
]

src/rda_python_common/PgLOG.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def set_email(msg, logact = 0):
217217
else:
218218
if logact&ERRLOG: # record error for email summary
219219
PGLOG['ERRCNT'] += 1
220+
if logact&BRKLIN: PGLOG['ERRMSG'] += "\n"
220221
PGLOG['ERRMSG'] += "{}. {}".format(PGLOG['ERRCNT'], msg)
221222
elif logact&EMLSUM:
222223
if PGLOG['SUMMSG']:

0 commit comments

Comments
 (0)