Skip to content

Commit db99b0b

Browse files
author
Ed Costello
committed
DOCS335 checkpoint
1 parent 405be96 commit db99b0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/errorcodes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ def readErrorCodes( callback, replaceZero = False ):
139139
# re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ),
140140
# re.compile( "((fassertFailed)()) *\(( *)(\d+)" )
141141
# ]
142-
ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) ,
143-
re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) ,
142+
ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) ,
143+
re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) ,
144144
re.compile( "((fasser(t|ted))) *\(( *)(\d+)()" ) ,
145-
re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+) *,?" ),
145+
re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+.+\S) *,?" ),
146146
re.compile( "((fassertFailed)()) *\(( *)(\d+)()" )
147147
]
148148

@@ -330,7 +330,7 @@ def genErrorOutputCSV():
330330
f=f[2:]
331331
fn = f.rpartition("/")[2]
332332

333-
out.write('"{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l))
333+
out.write('"{}","{}","{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l,message,severity))
334334

335335
out.write("\n")
336336

@@ -339,7 +339,7 @@ def genErrorOutputCSV():
339339
if __name__ == "__main__":
340340
ok = checkErrorCodes()
341341
print( "ok:" + str( ok ) )
342-
print( "next: " + str( getNextCode() ) )
342+
# print( "next: " + str( getNextCode() ) )
343343
if ok:
344344
genErrorOutput()
345345
genErrorOutputCSV()

0 commit comments

Comments
 (0)