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

Skip to content

Commit a2b0591

Browse files
committed
Minor update of format exception strings
1 parent e81168a commit a2b0591

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
MAX_CONNECT_RETRIES = 100
547547

548548
# Strings for detecting formatting errors
549-
FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Failed to convert", "System.FormatException", "java.lang.NumberFormatException")
549+
FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Failed to convert", "System.FormatException", "java.lang.NumberFormatException", "ValueError: invalid literal")
550550

551551
# Regular expression used for extracting ASP.NET view state values
552552
VIEWSTATE_REGEX = r'(?i)(?P<name>__VIEWSTATE[^"]*)[^>]+value="(?P<result>[^"]+)'

0 commit comments

Comments
 (0)