Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deec97d

Browse files
committed
adding Frontbase to error message regexes
1 parent eccd4da commit deec97d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/controller/action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def action():
4040
if htmlParsed:
4141
errMsg += ", but from the HTML error page it was "
4242
errMsg += "possible to determinate that the "
43-
errMsg += "back-end DBMS is %s" % htmlParsed
43+
errMsg += "back-end DBMS is '%s'" % htmlParsed
4444

4545
if htmlParsed and htmlParsed.lower() in SUPPORTED_DBMS:
4646
errMsg += ". Do not specify the back-end DBMS manually, "

xml/errors.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,8 @@
9191
<error regexp="Ingres\W.*Driver"/>
9292
</dbms>
9393

94+
<!-- Frontbase -->
95+
<dbms value="Frontbase">
96+
<error regexp="Exception (condition )?\d+. Transaction rollback."/>
97+
</dbms>
9498
</root>

0 commit comments

Comments
 (0)